Skip to content

Commit

Permalink
Discard bundle for pkg.browser; fixes #6
Browse files Browse the repository at this point in the history
  • Loading branch information
pateketrueke committed Mar 15, 2020
1 parent 50670e8 commit ae9852b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"main": "dist/yrv.js",
"svelte": "src/index.js",
"module": "dist/yrv.es.js",
"browser": "dist/yrv.min.js",
"author": "Alvaro Cabrera <pateketrueke@gmail.com>",
"license": "MIT",
"bugs": {
Expand Down
2 changes: 0 additions & 2 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ export default {
output: isProd ? [
bundle(pkg.main, 'cjs'),
bundle(pkg.module, 'es'),
bundle(pkg.browser, 'umd'),
] : bundle('e2e/public/assets/test.js', 'iife'),
external: isProd ? ['svelte', 'svelte/store', 'svelte/internal'] : [],
plugins: [
svelte({
dev: isDev,
Expand Down

0 comments on commit ae9852b

Please sign in to comment.