先拓企业站
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
xiantuo/node_modules/vue-baidu-map/build/webpack.test.config.js

27 lines
483 B

module.exports = {
// entry: './src/index.js',
// output: {
// path: path.resolve(__dirname, './'),
// filename: '../index.js',
// library: 'VueBaiduMap',
// libraryTarget: 'umd'
// },
module: {
rules: [
{
test: /\.vue$/,
loader: 'vue-loader'
},
{
test: /\.js$/,
loader: 'babel-loader',
exclude: /node_modules/
}
]
},
resolve: {
alias: {
vue: 'vue/dist/vue.js'
}
}
}