Skip to content

Commit

Permalink
Merge pull request #103 from eta-dev/revert-thingy
Browse files Browse the repository at this point in the history
revert: browser es modules thing
  • Loading branch information
shadowtime2000 authored Apr 18, 2021
2 parents fac6ff9 + a1c131e commit fe7af36
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"homepage": "https://eta.js.org",
"main": "dist/eta.cjs",
"browser": "dist/browser/eta.min.js",
"module": "dist/browser/eta.es.min.js",
"module": "dist/eta.es.js",
"type": "module",
"exports": {
"import": "./dist/eta.es.js",
Expand Down
13 changes: 1 addition & 12 deletions rollup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,6 @@ export default [
name: 'Eta',
sourcemap: true,
plugins: [terser()]
},
{
file: 'dist/browser/eta.es.js',
format: 'es',
sourcemap: true
},
{
file: pkg.module,
format: 'es',
sourcemap: true,
plugins: [terser()]
}
],
plugins: [typescript({ useTsconfigDeclarationDir: true }), commonjs(), resolve()],
Expand All @@ -53,7 +42,7 @@ export default [
sourcemap: true
},
{
file: pkg.exports.import,
file: pkg.module,
format: 'es',
sourcemap: true
}
Expand Down

0 comments on commit fe7af36

Please sign in to comment.