File tree 3 files changed +5
-5
lines changed
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 47
47
"@wya/vm" : " ^2.0.0-alpha.46" ,
48
48
"babel-loader" : " ^8.1.0" ,
49
49
"babel-plugin-syntax-jsx" : " ^6.18.0" ,
50
- "babel-plugin-transform-vue-jsx" : " ^3.7.0 " ,
50
+ "babel-plugin-transform-vue-jsx" : " ^4.0.1 " ,
51
51
"cac" : " ^6.5.6" ,
52
52
"chalk" : " ^3.0.0" ,
53
53
"chokidar" : " ^3.3.1" ,
68
68
"vue-loader" : " ^15.9.3" ,
69
69
"vue-style-loader" : " ^4.1.2" ,
70
70
"vue-template-compiler" : " ^2.6.12" ,
71
- "webpack" : " ^4.44.2 " ,
71
+ "webpack" : " ~4.43.0 " ,
72
72
"webpack-cli" : " ^3.3.12" ,
73
73
"webpack-dev-server" : " ^3.11.0" ,
74
74
"webpack-merge" : " ^5.1.4"
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ const webpack = require('webpack');
5
5
const { merge } = require ( 'webpack-merge' ) ;
6
6
const VueLoaderPlugin = require ( 'vue-loader/lib/plugin' ) ;
7
7
const FriendlyErrorsPlugin = require ( 'friendly-errors-webpack-plugin' ) ;
8
- const MiniCssExtractPlugin = require ( 'mini-css-extract-plugin' ) ;
8
+ // const MiniCssExtractPlugin = require('mini-css-extract-plugin');
9
9
10
10
const { resolve } = path ;
11
11
const cwd = process . cwd ( ) ;
Original file line number Diff line number Diff line change @@ -81,14 +81,14 @@ const getHTMLConfig = () => {
81
81
let openPage = { } ;
82
82
Object . keys ( entry ) . forEach ( ( key ) => {
83
83
let fullpath = entry [ key ] ;
84
- openPage [ key ] = `/demo/${ key } ` . replace ( / \. j s / , '.html' ) ;
84
+ openPage [ key ] = `/demo/${ key } ` . replace ( / \. ( j s | v u e ) / , '.html' ) ;
85
85
htmls . push (
86
86
new HtmlWebpackPlugin ( {
87
87
__DEV__ : true ,
88
88
template : path . resolve ( __dirname , 'templates/tpl.ejs' ) ,
89
89
chunks : [ key ] ,
90
90
inject : 'body' ,
91
- filename : `demo/${ key . replace ( / \. j s / , '.html' ) } `
91
+ filename : `demo/${ key . replace ( / \. ( j s | v u e ) / , '.html' ) } `
92
92
} )
93
93
) ;
94
94
} ) ;
You can’t perform that action at this time.
0 commit comments