您好,
{
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']
}
},