mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-17 23:33:12 +09:00
Add context to webpack configs
Fix the issue with paths resolving incorrectly for the webpack config when running the master server with the --dev option from the project root folder through either npx clusteriomaster or node packages/master
This commit is contained in:
1 parent
690e566556
commit
019ffc25f0
11 files changed
+7
-10
No files matched your search
@@ -6,6 +6,7 @@ const { merge } = require("webpack-merge");
|
||||
const common = require("@clusterio/web_ui/webpack.common");
|
||||
|
||||
module.exports = (env = {}) => merge(common(env), {
|
||||
context: __dirname,
|
||||
entry: "./web/index.jsx",
|
||||
output: {
|
||||
filename: "bundle.js",
|
||||
|
||||
Reference in new issue
Block a user