我有以下webpack配置文件:
const path = require('path');
const config = {
output: {
filename: '[name].bundle.js',
path: 'assets'
},
resolve: {
modules: [
'./js',
'./js/jquery'
],
alias: {
'jquery': 'jquery/jquery-1.10.2.js',
'jquery-ui': 'jquery/jquery-ui.js'
}
},
entry: {
settings : './js/model/settings.js'
}
};
module.exports = config;
在每个构建webpack上都以错误“错误:无法解析'jquery-ui / autocomplete'”结束,但jquery自动完成包含在jquery ui中。缺少什么?