mirror of https://github.com/vuejs/vue.git
move webpack config into build
This commit is contained in:
parent
054c2c3de2
commit
40f5f3d8b4
|
|
@ -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'
|
||||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue