mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 18:54:24 +00:00
fix component build
This commit is contained in:
@@ -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'
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user