Skip to content

Commit

Permalink
Remove UMD bundle from package.json (#208)
Browse files Browse the repository at this point in the history
Fixes #207
  • Loading branch information
web-padawan authored and Viktor Lukashov committed Jun 29, 2018
1 parent 5f28a9b commit 2c3994c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
"name": "@vaadin/router",
"version": "0.4.0",
"description": "Small and powerful client-side router for Web Components. Framework-agnostic.",
"main": "dist/vaadin-router.umd.js",
"browser": "dist/vaadin-router.js",
"main": "dist/vaadin-router.js",
"repository": "vaadin/vaadin-router",
"keywords": [
"Vaadin",
Expand Down
4 changes: 2 additions & 2 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const config = [
input: 'index.js',
output: {
format: 'es',
file: pkg.browser,
file: pkg.main,
sourcemap: true,
},
plugins
Expand All @@ -48,7 +48,7 @@ const config = [
input: 'index.js',
output: {
format: 'umd',
file: pkg.main,
file: pkg.main.replace('.js', '.umd.js'),
sourcemap: true,
name: 'Vaadin',
extend: true,
Expand Down

0 comments on commit 2c3994c

Please # to comment.