mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-21 16:13:12 +09:00
Move web interface to its own package
Create clusterio/web_ui package and move all of the web interface files to it in order to be able to share the interface components with plugins.
This commit is contained in:
1 parent
eee4c69575
commit
690e566556
32 files changed
+46
-27
No files matched your search
@@ -3,7 +3,7 @@ const path = require("path");
|
||||
const webpack = require("webpack");
|
||||
const { merge } = require("webpack-merge");
|
||||
|
||||
const common = require("@clusterio/master/webpack.common");
|
||||
const common = require("@clusterio/web_ui/webpack.common");
|
||||
|
||||
module.exports = (env = {}) => merge(common(env), {
|
||||
entry: "./web/index.jsx",
|
||||
@@ -21,6 +21,7 @@ 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