mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
fix component build
This commit is contained in:
parent
c0f9eb012e
commit
f1ae6d4997
@ -1,3 +1,4 @@
|
||||
var path = require('path');
|
||||
var Components = require('../components.json');
|
||||
var config = require('./webpack.config.js');
|
||||
|
||||
@ -10,7 +11,7 @@ config.externals = {
|
||||
};
|
||||
|
||||
config.output = {
|
||||
path: './lib',
|
||||
path: path.join(__dirname, '../lib'),
|
||||
filename: '[name].js',
|
||||
libraryTarget: 'umd'
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user