Skip to content

Commit

Permalink
bug: switch back from mjs to js to prove there's a bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dfabulich committed May 3, 2020
1 parent 7e1f11f commit cbe135d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dom.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from "./esm/dom.mjs";
export * from "./esm/dom.js";
2 changes: 1 addition & 1 deletion html.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from "./esm/html.mjs";
export * from "./esm/html.js";
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
"description": "JSX-based components with functions, promises and generators.",
"exports": {
".": {
"import": "./esm/index.mjs",
"import": "./esm/index.js",
"require": "./cjs/index.js"
},
"./html": {
"import": "./esm/html.mjs",
"import": "./esm/html.js",
"require": "./cjs/html.js"
},
"./dom": {
"import": "./esm/dom.mjs",
"import": "./esm/dom.js",
"require": "./cjs/dom.js"
},
"./cjs": {
Expand Down
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default ["src/index.ts", "src/dom.ts", "src/html.ts"].map((input) => ({
},
{
format: "esm",
file: `esm/${basename(input).replace(/\.ts$/, ".mjs")}`,
file: `esm/${basename(input).replace(/\.ts$/, ".js")}`,
sourcemap: true,
},
],
Expand Down

0 comments on commit cbe135d

Please sign in to comment.