move webpack config into build

This commit is contained in:
Evan You 2016-04-15 15:36:02 -04:00
parent 054c2c3de2
commit 40f5f3d8b4
2 changed files with 3 additions and 3 deletions

View File

@ -1,9 +1,9 @@
var path = require('path')
module.exports = {
entry: path.resolve(__dirname, 'build/dev-entry.js'),
entry: path.resolve(__dirname, 'dev-entry.js'),
output: {
path: path.resolve(__dirname, 'dist'),
path: path.resolve(__dirname, '../dist'),
filename: 'vue.js',
library: 'Vue',
libraryTarget: 'umd'

View File

@ -10,7 +10,7 @@
"src"
],
"scripts": {
"dev": "webpack --watch",
"dev": "webpack --config build/webpack.config.js --watch",
"test": "mocha",
"build": "NODE_ENV=production node build/build.js",
"lint": "eslint src"