求大神帮忙看下,有问题吗?为什么老是output filename not configured
package.json
{
"name": "application-name",
"version": "0.0.1",
"devDependencies": {
"webpack":"^1.12.11"
}
}
webpack.config.js
module.exports = {
entry :{
animation : './src/animation.js'
},
output:{
path : __dirname + './build',
filename : '[name].js',
library : 'animation',
libraryTarget : 'umd'
}
};