您好,您确定下您的配置方式
module: {
rules: [
{
test: /\.vue$/,
loader: 'vue-loader',
options: vueLoaderConfig
},
{
test: /\.js$/,
loader: 'babel-loader',
include: [resolve('src'), resolve('test'), resolve('node_modules/webpack-dev-server/client'),
resolve( "node_modules/@supermap/iclient-common"),
resolve( "node_modules/@supermap/iclient-leaflet"),
resolve( "node_modules/elasticsearch")],
options: {
presets: ['env']
}
},