Skip to content

Commit

Permalink
remove external and update packages
Browse files Browse the repository at this point in the history
  • Loading branch information
zefanjajobse committed Jul 19, 2024
1 parent 5437eb8 commit 9a70cb8
Show file tree
Hide file tree
Showing 4 changed files with 5,069 additions and 6,646 deletions.
18 changes: 0 additions & 18 deletions configs/webpack/prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ module.exports = merge(commonConfig, {
],
},
devtool: "source-map",
externals: {
react: "React",
"react-dom": "ReactDOM",
},
optimization: {
minimizer: [
'...',
Expand All @@ -55,20 +51,6 @@ module.exports = merge(commonConfig, {
urlPattern: /\.(?:png|jpg|jpeg|svg)$/,
handler: "CacheFirst",
},
{
urlPattern: new RegExp(
"^https://fonts.(?:googleapis|gstatic).com/(.*)",
),
handler: "CacheFirst",
},
{
urlPattern: new RegExp("^https://cdn.jsdelivr.net/(.*)"),
handler: "CacheFirst",
},
{
urlPattern: new RegExp("^https://unpkg.com/(.*)"),
handler: "CacheFirst",
},
],
}),
],
Expand Down
38 changes: 19 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,54 +33,54 @@
"test": "jest --coverage --watchAll --config=configs/jest.json"
},
"devDependencies": {
"@swc/core": "^1.6.5",
"@swc/core": "^1.7.0",
"@types/jest": "^29.5.12",
"@types/node": "^20.14.9",
"@types/node": "^20.14.11",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@types/react-router-dom": "^5.3.3",
"@typescript-eslint/eslint-plugin": "^7.14.1",
"@typescript-eslint/parser": "^7.14.1",
"browserslist": "^4.23.1",
"@typescript-eslint/eslint-plugin": "^7.16.1",
"@typescript-eslint/parser": "^7.16.1",
"browserslist": "^4.23.2",
"css-loader": "^7.1.2",
"css-minimizer-webpack-plugin": "^7.0.0",
"eslint": "^9.5.0",
"eslint": "^9.7.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.34.3",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.34.4",
"express": "^4.19.2",
"file-loader": "^6.2.0",
"html-webpack-plugin": "^5.6.0",
"jest": "^29.7.0",
"lightningcss": "^1.25.1",
"prettier": "^3.3.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"prettier": "^3.3.3",
"responsive-loader": "^3.1.2",
"rimraf": "^5.0.7",
"sass": "^1.77.6",
"rimraf": "^5.0.9",
"sass": "^1.77.8",
"sass-loader": "^14.2.1",
"sharp": "^0.33.4",
"style-loader": "^4.0.0",
"swc-loader": "^0.2.6",
"typescript": "^5.5.2",
"typescript": "^5.5.3",
"typescript-plugin-css-modules": "^5.1.0",
"webpack": "^5.92.1",
"webpack": "^5.93.0",
"webpack-bundle-analyzer": "^4.10.2",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.0.4",
"webpack-merge": "^5.10.0"
},
"dependencies": {
"@react-hook/window-size": "^3.1.1",
"i18next": "^23.11.5",
"i18next": "^23.12.2",
"i18next-browser-languagedetector": "^8.0.0",
"i18next-resources-to-backend": "^1.2.1",
"mini-css-extract-plugin": "^2.9.0",
"react-i18next": "^14.1.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-i18next": "^14.1.3",
"react-query": "^3.39.3",
"react-router-dom": "^6.24.0",
"react-router-dom": "^6.25.1",
"regenerator-runtime": "^0.14.1",
"workbox-webpack-plugin": "^7.1.0"
}
}
}
Loading

0 comments on commit 9a70cb8

Please sign in to comment.