Skip to content

Commit

Permalink
Add files property to reduce package size
Browse files Browse the repository at this point in the history
  • Loading branch information
VictorCazanave committed Dec 28, 2019
1 parent 719239f commit 0a8fb57
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
"./sfc/checkbox-svg-map": "src/components/checkbox-svg-map.vue",
"./sfc/radio-svg-map": "src/components/radio-svg-map.vue"
},
"files": [
"/src/components/*.vue",
"/dist"
],
"scripts": {
"build:umd": "rollup --config rollup.config.js --format umd --file dist/index.umd.js",
"build:es": "rollup --config rollup.config.js --format es --file dist/index.esm.js",
Expand Down

0 comments on commit 0a8fb57

Please sign in to comment.