mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
parent
329df09e22
commit
2feeb67b3f
@ -9,7 +9,8 @@ config.entry = {
|
||||
config.output = {
|
||||
filename: './lib/[name].js',
|
||||
library: 'vant',
|
||||
libraryTarget: 'umd'
|
||||
libraryTarget: 'umd',
|
||||
umdNamedDefine: true
|
||||
};
|
||||
|
||||
config.externals = {
|
||||
|
@ -18,7 +18,8 @@ config.externals = {
|
||||
config.output = {
|
||||
path: path.join(__dirname, '../lib'),
|
||||
filename: '[name].js',
|
||||
libraryTarget: 'umd'
|
||||
libraryTarget: 'umd',
|
||||
umdNamedDefine: true
|
||||
};
|
||||
|
||||
module.exports = config;
|
||||
|
@ -39,7 +39,8 @@ module.exports = {
|
||||
output: {
|
||||
path: path.join(__dirname, '../docs/dist'),
|
||||
publicPath: '/',
|
||||
filename: '[name].js'
|
||||
filename: '[name].js',
|
||||
umdNamedDefine: true
|
||||
},
|
||||
devServer: {
|
||||
historyApiFallback: {
|
||||
|
@ -7,7 +7,8 @@ module.exports = merge(devConfig, {
|
||||
output: {
|
||||
path: path.join(__dirname, '../docs/dist'),
|
||||
publicPath: '/zanui/vue',
|
||||
filename: '[name].[hash:8].js'
|
||||
filename: '[name].[hash:8].js',
|
||||
umdNamedDefine: true
|
||||
},
|
||||
devtool: false,
|
||||
plugins: [
|
||||
|
@ -5102,6 +5102,12 @@ postcss-convert-values@^2.3.4:
|
||||
postcss "^5.0.11"
|
||||
postcss-value-parser "^3.1.2"
|
||||
|
||||
postcss-css-reset@^1.0.2:
|
||||
version "1.0.2"
|
||||
resolved "https://registry.yarnpkg.com/postcss-css-reset/-/postcss-css-reset-1.0.2.tgz#769f2d62d3f1f76e2600fb4f79066399bebe2bd8"
|
||||
dependencies:
|
||||
postcss "^5.0.19"
|
||||
|
||||
postcss-custom-media@^5.0.0:
|
||||
version "5.0.1"
|
||||
resolved "https://registry.yarnpkg.com/postcss-custom-media/-/postcss-custom-media-5.0.1.tgz#138d25a184bf2eb54de12d55a6c01c30a9d8bd81"
|
||||
|
Loading…
x
Reference in New Issue
Block a user