File tree Expand file tree Collapse file tree 2 files changed +10
-12
lines changed Expand file tree Collapse file tree 2 files changed +10
-12
lines changed Original file line number Diff line number Diff line change @@ -16,24 +16,24 @@ module.exports = merge(webpackCSSConfig, {
1616 // 不添加 .js 会导致 node_module 里的库无法被解析
1717 // babel 报错 can't resolve ... in src/ ....
1818 extensions : [ '.vue' , '.js' , '.ts' ] ,
19- modules : [ 'node_modules' ]
19+ modules : [ 'node_modules' ] ,
2020 } ,
2121 externals : [ 'vue' , nodeExternals ( ) ] ,
2222 module : {
2323 rules : [
2424 {
2525 test : / \. v u e $ / ,
26- loader : 'vue-loader'
26+ loader : 'vue-loader' ,
2727 } ,
2828 {
2929 test : / \. t s $ / ,
3030 loader : 'ts-loader' ,
31- options : { appendTsSuffixTo : [ / \. v u e $ / ] }
31+ options : { appendTsSuffixTo : [ / \. v u e $ / ] } ,
3232 } ,
3333 {
3434 test : / \. j s $ / ,
3535 loader : 'babel-loader' ,
36- include : resolve ( '../components' )
36+ include : resolve ( '../components' ) ,
3737 } ,
3838 {
3939 test : / \. ( p n g | j p e ? g | g i f ) $ / i,
@@ -46,13 +46,10 @@ module.exports = merge(webpackCSSConfig, {
4646 } ,
4747 ] ,
4848 } ,
49- ]
49+ ] ,
5050 } ,
51- plugins : [
52- new VueLoaderPlugin ( ) ,
53- new ProgressBarPlugin ( ) ,
54- ] ,
51+ plugins : [ new VueLoaderPlugin ( ) , new ProgressBarPlugin ( ) ] ,
5552 optimization : {
56- minimize : false
53+ minimize : false ,
5754 } ,
58- } ) ;
55+ } ) ;
Original file line number Diff line number Diff line change 1010 "build-storybook" : " build-storybook -c .storybook -o .out" ,
1111 "deploy-local" : " npm run build-storybook && http-server .out" ,
1212 "deploy-ghpages" : " storybook-to-ghpages" ,
13- "deploy-qiniu" : " node ./bin/qiniu-deploy.js" ,
13+ "qiniu" : " node ./bin/qiniu-deploy.js" ,
14+ "deploy-qiniu" : " run-s build-storybook qiniu" ,
1415 "test" : " run-s eslint jest" ,
1516 "jest" : " jest" ,
1617 "generate" : " ./bin/generate.sh" ,
You can’t perform that action at this time.
0 commit comments