Selaa lähdekoodia

Revert "add webpacl bundle analyzer"

This reverts commit 3adae52742d3baa4c55a45df536bc9b7bf9017cd.
v.shebanov 4 vuotta sitten
vanhempi
commit
1e776175fc
3 muutettua tiedostoa jossa 224 lisäystä ja 253 poistoa
  1. 0 13
      front/config-overrides.js
  2. 221 233
      front/package-lock.json
  3. 3 7
      front/package.json

+ 0 - 13
front/config-overrides.js

@@ -1,13 +0,0 @@
-const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
-
-module.exports = function override(config, env) {
-    if (!config.plugins) {
-        config.plugins = [];
-    }
-
-    config.plugins.push(
-      new BundleAnalyzerPlugin()
-    );
-
-    return config;
-}

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 221 - 233
front/package-lock.json


+ 3 - 7
front/package.json

@@ -14,13 +14,9 @@
   },
   },
   "proxy": "http://localhost:5000/",
   "proxy": "http://localhost:5000/",
   "scripts": {
   "scripts": {
-    "start": "react-app-rewired start",
-    "build": "react-app-rewired build",
-    "test": "react-app-rewired test --env=jsdom",
+    "start": "react-scripts start",
+    "build": "react-scripts build",
+    "test": "react-scripts test --env=jsdom",
     "eject": "react-scripts eject"
     "eject": "react-scripts eject"
-  },
-  "devDependencies": {
-    "react-app-rewired": "^2.1.8",
-    "webpack-bundle-analyzer": "^4.4.0"
   }
   }
 }
 }

Kaikkia tiedostoja ei voida näyttää, sillä liian monta tiedostoa muuttui tässä diffissä