Fix webpack migration issues

This commit is contained in:
David Boreham 2023-03-19 20:19:28 -06:00
parent 1aca4e062f
commit ce7209453f
3 changed files with 3969 additions and 3274 deletions

View File

@ -53,6 +53,7 @@
"lodash.defaultsdeep": "^4.6.1",
"lodash.get": "^4.4.2",
"moment": "^2.26.0",
"node-polyfill-webpack-plugin": "^2.0.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-router": "^5.2.0",
@ -91,7 +92,7 @@
"graphql": "^15.0.0",
"html-webpack-plugin": "^5.5.0",
"jest": "^24.8.0",
"react-scripts": "^3.4.1",
"react-scripts": "^5.0.1",
"semistandard": "^14.2.0",
"webpack": "^5.76.2",
"webpack-bundle-analyzer": "^4.8.0",

View File

@ -4,6 +4,7 @@
const path = require('path');
const Dotenv = require('dotenv-webpack');
const NodePolyfillPlugin = require("node-polyfill-webpack-plugin")
const VersionFile = require('webpack-version-file-plugin');
const webpack = require('webpack');
@ -89,7 +90,9 @@ module.exports = {
template: path.join(__dirname, 'version.ejs'),
packageFile: path.join(__dirname, 'package.json'),
outputFile: path.join(__dirname, 'src', 'version.json')
})
}),
new NodePolyfillPlugin()
],
module: {

7235
yarn.lock

File diff suppressed because it is too large Load Diff