Cleanup and update dependencies (#442)
This commit is contained in:
parent
2d036f1277
commit
3cbda0d076
|
@ -1,32 +0,0 @@
|
||||||
const CracoLessPlugin = require('craco-less');
|
|
||||||
|
|
||||||
module.exports = {
|
|
||||||
plugins: [
|
|
||||||
{
|
|
||||||
plugin: CracoLessPlugin,
|
|
||||||
options: {
|
|
||||||
lessLoaderOptions: {
|
|
||||||
lessOptions: {
|
|
||||||
javascriptEnabled: true,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
],
|
|
||||||
webpack: {
|
|
||||||
configure: (config) => {
|
|
||||||
config.resolve.extensions.push('.wasm');
|
|
||||||
|
|
||||||
config.module.rules.forEach(rule => {
|
|
||||||
(rule.oneOf || []).forEach(oneOf => {
|
|
||||||
if (oneOf.loader && oneOf.loader.indexOf('file-loader') >= 0) {
|
|
||||||
// Make file-loader ignore WASM files
|
|
||||||
oneOf.exclude.push(/\.wasm$/);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
return config;
|
|
||||||
},
|
|
||||||
},
|
|
||||||
};
|
|
File diff suppressed because it is too large
Load Diff
|
@ -40,7 +40,6 @@
|
||||||
"vite": "^2.8.4"
|
"vite": "^2.8.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@craco/craco": "^7.0.0-7.0.0-alpha.2.0",
|
|
||||||
"@speedy-tuner/eslint-config": "^0.1.3",
|
"@speedy-tuner/eslint-config": "^0.1.3",
|
||||||
"@types/node": "^17.0.19",
|
"@types/node": "^17.0.19",
|
||||||
"@types/pako": "^1.0.3",
|
"@types/pako": "^1.0.3",
|
||||||
|
@ -48,7 +47,9 @@
|
||||||
"@types/react-dom": "^17.0.11",
|
"@types/react-dom": "^17.0.11",
|
||||||
"@types/react-redux": "^7.1.22",
|
"@types/react-redux": "^7.1.22",
|
||||||
"@types/react-router-dom": "^5.3.3",
|
"@types/react-router-dom": "^5.3.3",
|
||||||
|
"@typescript-eslint/eslint-plugin": "^5.12.1",
|
||||||
"@vitejs/plugin-react": "^1.2.0",
|
"@vitejs/plugin-react": "^1.2.0",
|
||||||
|
"eslint-plugin-flowtype": "^8.0.3",
|
||||||
"eslint-plugin-modules-newline": "^0.0.6",
|
"eslint-plugin-modules-newline": "^0.0.6",
|
||||||
"eslint-plugin-prettier": "^4.0.0",
|
"eslint-plugin-prettier": "^4.0.0",
|
||||||
"less": "^4.1.2",
|
"less": "^4.1.2",
|
||||||
|
|
Loading…
Reference in New Issue