pull/5370/head
filip mertens 2 years ago
parent cb39629009
commit 00cee169b0
  1. 9
      apps/remix-ide/webpack.config.js
  2. 4
      package.json
  3. 2164
      yarn.lock

@ -6,6 +6,8 @@ const version = require('../../package.json').version
const fs = require('fs')
const TerserPlugin = require("terser-webpack-plugin")
const CssMinimizerPlugin = require("css-minimizer-webpack-plugin")
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
const versionData = {
version: version,
@ -70,6 +72,13 @@ module.exports = composePlugins(withNx(), withReact(), (config) => {
})
)
// if dev mode
if (process.env.NODE_ENV !== 'production') {
config.plugins.push(
new BundleAnalyzerPlugin()
)
}
// souce-map loader
config.module.rules.push({
test: /\.js$/,

@ -256,10 +256,6 @@
"@typescript-eslint/parser": "^5.40.1",
"@uniswap/v2-core": "^1.0.1",
"@uniswap/v3-core": "^1.0.1",
"ace-mode-lexon": "^1.*.*",
"ace-mode-move": "0.0.1",
"ace-mode-solidity": "^0.1.0",
"ace-mode-zokrates": "^1.0.4",
"babel-eslint": "^10.0.0",
"babel-jest": "25.1.0",
"babel-plugin-add-module-exports": "^1.0.2",

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save