Skip to content

Commit 1e0b10b

Browse files
author
Elie Prudhomme
committed
Main package file is now the minified version
1 parent bc12b55 commit 1e0b10b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
],
1515
"scripts": {
1616
"dev": "webpack-dev-server --inline",
17-
"build:example": "cross-env NODE_ENV=production webpack --progress --hide-modules",
17+
"build": "cross-env NODE_ENV=production webpack --config build/webpack.config.min.js",
1818
"unit": "karma start test/unit/karma.conf.js --single-run"
1919
},
20-
"main": "src/Avatar.vue",
20+
"main": "dist/vue-avatar.min.js",
2121
"dependencies": {
2222
"vue": "^1.0.18",
2323
"babel-runtime": "^5.8.0"
@@ -28,6 +28,7 @@
2828
"babel-plugin-transform-runtime": "^6.0.0",
2929
"babel-preset-es2015": "^6.0.0",
3030
"babel-preset-stage-2": "^6.0.0",
31+
"copy-webpack-plugin": "^1.1.1",
3132
"cross-env": "^1.0.6",
3233
"css-loader": "^0.23.0",
3334
"file-loader": "^0.8.4",

0 commit comments

Comments
 (0)