mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2025-06-11 18:43:22 +02:00
Dependencies cleanup
This commit is contained in:
@ -28,8 +28,8 @@
|
||||
"copy-webpack-plugin": "^10.2.1",
|
||||
"css-loader": "^6.7.1",
|
||||
"cypress": "^10.11.0",
|
||||
"eslint": "^7.14.0",
|
||||
"cypress-image-snapshot": "^4.0.1",
|
||||
"eslint": "^7.14.0",
|
||||
"eslint-config-prettier": "^8.5.0",
|
||||
"eslint-plugin-react": "^7.31.10",
|
||||
"eslint-plugin-react-hooks": "^4.6.0",
|
||||
@ -40,27 +40,22 @@
|
||||
"style-loader": "^3.3.1",
|
||||
"ts-jest": "^27.1.0",
|
||||
"typescript": "^4.8.4",
|
||||
"webpack": "^5.74.0",
|
||||
"webpack-merge": "^5.8.0"
|
||||
"webpack": "^5.75.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@emotion/styled": "^11.10.5",
|
||||
"@wisemapping/mindplot": "^5.0.15",
|
||||
"emoji-picker-react": "^4.4.4",
|
||||
"react-color": "^2.19.3",
|
||||
"react-dom": "^18.2.0",
|
||||
"styled-components": "^5.3.6"
|
||||
"react-color": "^2.19.3"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@emotion": "^11.10.5",
|
||||
"@emotion/react": "^11.10.5",
|
||||
"@emotion/styled": "^11.10.5",
|
||||
"@mui/icons-material": "^5.9.3",
|
||||
"@mui/material": "^5.10.11",
|
||||
"lodash": "^4.17.14",
|
||||
"@mui/material/esm": "^5.10.11",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"react-intl": "^6.2.1",
|
||||
"styled-components": "^5.3.6"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -11,8 +11,7 @@ module.exports = {
|
||||
},
|
||||
stats: {
|
||||
errorDetails: true,
|
||||
},
|
||||
entry: {
|
||||
}, entry: {
|
||||
'editor.bundle': path.join(__dirname, 'src', 'index.tsx'),
|
||||
},
|
||||
mode: 'development',
|
||||
|
@ -7,14 +7,24 @@ const prodConfig = {
|
||||
usedExports: true,
|
||||
minimize: true,
|
||||
},
|
||||
externals: {
|
||||
externals: [{
|
||||
'react': 'react',
|
||||
'react-dom': 'react-dom',
|
||||
'react-intl': 'react-intl',
|
||||
'@emotion/styled': '@emotion/styled',
|
||||
'@emotion/react': '@emotion/react',
|
||||
"@mui/system": "@mui/system",
|
||||
"@mui": "@mui",
|
||||
"@mui/material": "@mui/material",
|
||||
"@mui/material/esm": "@mui/material/esm",
|
||||
'styled-components': 'styled-components',
|
||||
'xml-formatter': 'xml-formatter',
|
||||
'lodash-es': 'lodash-es',
|
||||
},
|
||||
/^@mui/,
|
||||
/^lodash/
|
||||
|
||||
],
|
||||
plugins: [new CleanWebpackPlugin()],
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user