mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-24 10:20:19 +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 Components = require('../components.json');
|
||||||
var config = require('./webpack.config.js');
|
var config = require('./webpack.config.js');
|
||||||
|
|
||||||
@ -10,7 +11,7 @@ config.externals = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
config.output = {
|
config.output = {
|
||||||
path: './lib',
|
path: path.join(__dirname, '../lib'),
|
||||||
filename: '[name].js',
|
filename: '[name].js',
|
||||||
libraryTarget: 'umd'
|
libraryTarget: 'umd'
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user