mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-12 07:04:52 +09:00
Remove ajv from plugin webpack config
The ajv module was made shared to reduce package size, but it turned out the package size was large because of a missunderstanding in how imports to sub-paths works with module federation. Since that was fixed the ajv module was no longer shared, but plugins incorrectly still specified it.
This commit is contained in:
1 parent
8a0c1e8a4b
commit
f4635a79f9
4 files changed
-4
No files matched your search
@@ -25,7 +25,6 @@ module.exports = (env = {}) => merge(common(env), {
|
||||
shared: {
|
||||
"@clusterio/lib": { import: false },
|
||||
"@clusterio/web_ui": { import: false },
|
||||
"ajv": { import: false },
|
||||
},
|
||||
}),
|
||||
],
|
||||
|
||||
@@ -26,7 +26,6 @@ module.exports = (env = {}) => merge(common(env), {
|
||||
shared: {
|
||||
"@clusterio/lib": { import: false },
|
||||
"@clusterio/web_ui": { import: false },
|
||||
"ajv": { import: false },
|
||||
"antd": { import: false },
|
||||
"react": { import: false },
|
||||
"react-dom": { import: false },
|
||||
|
||||
@@ -25,7 +25,6 @@ module.exports = (env = {}) => merge(common(env), {
|
||||
shared: {
|
||||
"@clusterio/lib": { import: false },
|
||||
"@clusterio/web_ui": { import: false },
|
||||
"ajv": { import: false },
|
||||
},
|
||||
}),
|
||||
],
|
||||
|
||||
@@ -25,7 +25,6 @@ module.exports = (env = {}) => merge(common(env), {
|
||||
shared: {
|
||||
"@clusterio/lib": { import: false },
|
||||
"@clusterio/web_ui": { import: false },
|
||||
"ajv": { import: false },
|
||||
},
|
||||
}),
|
||||
],
|
||||
|
||||
Reference in new issue
Block a user