Skip to content

Commit

Permalink
[fix] Resolve issues with outdated packages (#3254)
Browse files Browse the repository at this point in the history
  • Loading branch information
mihran113 authored Dec 5, 2024
1 parent 8c51301 commit 61bee5d
Show file tree
Hide file tree
Showing 17 changed files with 1,264 additions and 1,940 deletions.
1 change: 1 addition & 0 deletions aim/web/ui/.eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"prettier"
],
"rules": {
"react/prop-types": "off",
"prettier/prettier": "error",
"react/no-unescaped-entities": 0,
"no-console": "warn",
Expand Down
2 changes: 2 additions & 0 deletions aim/web/ui/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
engine-strict=true
legacy-peer-deps=true
6 changes: 6 additions & 0 deletions aim/web/ui/config-overrides.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ module.exports = {
webpack: function (config, webpackEnv) {
const isEnvProduction = webpackEnv === 'production';

config.module.rules.push({
test: /\.mjs$/,
include: /node_modules/,
type: 'javascript/auto',
});

// Optimization Overrides
config.optimization.splitChunks = {
cacheGroups: {
Expand Down
Loading

0 comments on commit 61bee5d

Please sign in to comment.