mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
14 lines
315 B
JavaScript
14 lines
315 B
JavaScript
const path = require('path');
|
|
const baseWebpackConfig = require('../../../build/webpack.pkg');
|
|
|
|
module.exports = Object.assign(baseWebpackConfig, {
|
|
entry: {
|
|
index: './src/index.js'
|
|
},
|
|
output: {
|
|
path: path.resolve(__dirname, '../lib'),
|
|
filename: '[name].js',
|
|
libraryTarget: 'commonjs2'
|
|
}
|
|
});
|