mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-05 19:41:42 +08:00
parent
237502c3ec
commit
6331645a51
1
.gitignore
vendored
1
.gitignore
vendored
@ -4,6 +4,7 @@
|
||||
.idea
|
||||
.vscode
|
||||
packages/**/lib
|
||||
lib/
|
||||
lib/*
|
||||
!lib/index.js
|
||||
!lib/style.css
|
||||
|
@ -1,6 +1,6 @@
|
||||
var webpack = require('webpack');
|
||||
var getPostcssPlugin = require('./utils/postcss_pipe');
|
||||
var config = require('./webpack.config.js');
|
||||
var config = require('./webpack.config.dev.js');
|
||||
|
||||
config.entry = {
|
||||
'vant': './src/index.js'
|
||||
|
6
build/webpack.build.min.js
vendored
6
build/webpack.build.min.js
vendored
@ -1,7 +1,9 @@
|
||||
var webpack = require('webpack');
|
||||
var config = require('./webpack.config.js');
|
||||
var config = require('./webpack.build.js');
|
||||
|
||||
config.output.filename = config.output.filename.replace(/\.js$/, '.min.js');
|
||||
config.entry = {
|
||||
'index': './src/index.js'
|
||||
};
|
||||
|
||||
config.plugins = config.plugins.concat([
|
||||
new webpack.optimize.UglifyJsPlugin({
|
||||
|
@ -4,6 +4,7 @@
|
||||
"description": "有赞vue wap组件库",
|
||||
"main": "lib/vant.js",
|
||||
"style": "lib/vant-css/index.css",
|
||||
"unpkg": "lib/index.js",
|
||||
"files": [
|
||||
"lib",
|
||||
"src",
|
||||
|
Loading…
x
Reference in New Issue
Block a user