Skip to content

Commit 614c473

Browse files
committed
Remove statoscope
1 parent 5f6d7c9 commit 614c473

File tree

2 files changed

+4
-12
lines changed

2 files changed

+4
-12
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
"ts-loader": "^9.5.1",
4242
"url-loader": "^4.1.1",
4343
"webpack": "^5.97.1",
44-
"webpack-bundle-analyzer": "^4.10.2",
4544
"webpack-cli": "^6.0.1",
4645
"webpack-dashboard": "^3.3.8",
4746
"webpack-dev-server": "^5.2.0",
@@ -50,7 +49,7 @@
5049
"dependencies": {
5150
"@chenfengyuan/datepicker": "^1.0.10",
5251
"querystring-es3": "^0.2.1",
53-
"sparnatural": "^11.0.1",
52+
"sparnatural": "file:../sparnatural/sparnatural-11.0.1.tgz",
5453
"stream-browserify": "^3.0.0",
5554
"url": "^0.11.4",
5655
"util": "^0.12.5"

webpack.config.js

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ const HtmlWebpackPlugin = require("html-webpack-plugin");
66
const DashboardPlugin = require("webpack-dashboard/plugin");
77
const CopyPlugin = require("copy-webpack-plugin");
88
const FileManagerPlugin = require("filemanager-webpack-plugin");
9-
const BundleAnalyzerPlugin =
10-
require("webpack-bundle-analyzer").BundleAnalyzerPlugin;
119

1210
module.exports = {
1311
entry: {
@@ -119,7 +117,8 @@ module.exports = {
119117
],
120118
}),
121119

122-
new StatoscopeWebpackPlugin(),
120+
// uncomment to analyze the package size
121+
// new StatoscopeWebpackPlugin(),
123122

124123
// so that JQuery is automatically inserted
125124
new webpack.ProvidePlugin({
@@ -170,13 +169,7 @@ module.exports = {
170169
],
171170
},
172171
{
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"]
180173
},
181174
],
182175
},

0 commit comments

Comments
 (0)