File tree Expand file tree Collapse file tree 2 files changed +4
-12
lines changed Expand file tree Collapse file tree 2 files changed +4
-12
lines changed Original file line number Diff line number Diff line change 41
41
"ts-loader" : " ^9.5.1" ,
42
42
"url-loader" : " ^4.1.1" ,
43
43
"webpack" : " ^5.97.1" ,
44
- "webpack-bundle-analyzer" : " ^4.10.2" ,
45
44
"webpack-cli" : " ^6.0.1" ,
46
45
"webpack-dashboard" : " ^3.3.8" ,
47
46
"webpack-dev-server" : " ^5.2.0" ,
50
49
"dependencies" : {
51
50
"@chenfengyuan/datepicker" : " ^1.0.10" ,
52
51
"querystring-es3" : " ^0.2.1" ,
53
- "sparnatural" : " ^ 11.0.1" ,
52
+ "sparnatural" : " file:../sparnatural/sparnatural- 11.0.1.tgz " ,
54
53
"stream-browserify" : " ^3.0.0" ,
55
54
"url" : " ^0.11.4" ,
56
55
"util" : " ^0.12.5"
Original file line number Diff line number Diff line change @@ -6,8 +6,6 @@ const HtmlWebpackPlugin = require("html-webpack-plugin");
6
6
const DashboardPlugin = require ( "webpack-dashboard/plugin" ) ;
7
7
const CopyPlugin = require ( "copy-webpack-plugin" ) ;
8
8
const FileManagerPlugin = require ( "filemanager-webpack-plugin" ) ;
9
- const BundleAnalyzerPlugin =
10
- require ( "webpack-bundle-analyzer" ) . BundleAnalyzerPlugin ;
11
9
12
10
module . exports = {
13
11
entry : {
@@ -119,7 +117,8 @@ module.exports = {
119
117
] ,
120
118
} ) ,
121
119
122
- new StatoscopeWebpackPlugin ( ) ,
120
+ // uncomment to analyze the package size
121
+ // new StatoscopeWebpackPlugin(),
123
122
124
123
// so that JQuery is automatically inserted
125
124
new webpack . ProvidePlugin ( {
@@ -170,13 +169,7 @@ module.exports = {
170
169
] ,
171
170
} ,
172
171
{
173
- copy : [
174
- {
175
- source : "./hello-sparnatural-form/form-configs/**" ,
176
- destination : "./dist/hello-sparnatural-form/form-configs" ,
177
- options : { overwrite : true } ,
178
- } ,
179
- ] ,
172
+ delete : [ "./dist/hello-sparnatural-form" ]
180
173
} ,
181
174
] ,
182
175
} ,
You can’t perform that action at this time.
0 commit comments