mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-20 15:43:13 +09:00
Move dist/web_build inside dest/web
By default webpack-dev-middleware will refuse to delete files outside of its working directory. This becomes dist/web in the configuration currently set up, which means that a rebuild triggered on the watched files will fail when declaration files are output to to dist/web_build. Fix by moving dist/web_build to dist/web/build.
This commit is contained in:
1 parent
0a4368d1c0
commit
f1edbd78cb
14 files changed
+14
-14
No files matched your search
@@ -1,2 +1,2 @@
|
|||||||
webpack.config.js
|
webpack.config.js
|
||||||
dist/web_build
|
dist/web/build
|
||||||
@@ -7,6 +7,6 @@
|
|||||||
"include": [ "web/**/*.tsx", "web/**/*.ts", "package.json" ],
|
"include": [ "web/**/*.tsx", "web/**/*.ts", "package.json" ],
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"rootDir": "..",
|
"rootDir": "..",
|
||||||
"outDir": "dist/web_build",
|
"outDir": "dist/web/build",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,2 +1,2 @@
|
|||||||
webpack.config.js
|
webpack.config.js
|
||||||
dist/web_build
|
dist/web/build
|
||||||
@@ -6,6 +6,6 @@
|
|||||||
],
|
],
|
||||||
"include": [ "web/**/*.tsx", "web/**/*.ts", "messages.ts", "package.json" ],
|
"include": [ "web/**/*.tsx", "web/**/*.ts", "messages.ts", "package.json" ],
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"outDir": "dist/web_build",
|
"outDir": "dist/web/build",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,2 +1,2 @@
|
|||||||
webpack.config.js
|
webpack.config.js
|
||||||
dist/web_build
|
dist/web/build
|
||||||
@@ -6,6 +6,6 @@
|
|||||||
],
|
],
|
||||||
"include": [ "web/**/*.tsx", "web/**/*.ts", "messages.ts", "instance.ts", "package.json" ],
|
"include": [ "web/**/*.tsx", "web/**/*.ts", "messages.ts", "instance.ts", "package.json" ],
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"outDir": "dist/web_build",
|
"outDir": "dist/web/build",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,2 +1,2 @@
|
|||||||
webpack.config.js
|
webpack.config.js
|
||||||
dist/web_build
|
dist/web/build
|
||||||
@@ -6,6 +6,6 @@
|
|||||||
],
|
],
|
||||||
"include": [ "web/**/*.tsx", "web/**/*.ts", "messages.ts", "package.json" ],
|
"include": [ "web/**/*.tsx", "web/**/*.ts", "messages.ts", "package.json" ],
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"outDir": "dist/web_build",
|
"outDir": "dist/web/build",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,2 +1,2 @@
|
|||||||
webpack.config.js
|
webpack.config.js
|
||||||
dist/web_build
|
dist/web/build
|
||||||
@@ -6,6 +6,6 @@
|
|||||||
],
|
],
|
||||||
"include": [ "web/**/*.tsx", "web/**/*.ts", "messages.ts", "package.json" ],
|
"include": [ "web/**/*.tsx", "web/**/*.ts", "messages.ts", "package.json" ],
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"outDir": "dist/web_build",
|
"outDir": "dist/web/build",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,2 +1,2 @@
|
|||||||
webpack.config.js
|
webpack.config.js
|
||||||
dist/web_build
|
dist/web/build
|
||||||
@@ -6,6 +6,6 @@
|
|||||||
],
|
],
|
||||||
"include": [ "web/**/*.tsx", "web/**/*.ts", "package.json" ],
|
"include": [ "web/**/*.tsx", "web/**/*.ts", "package.json" ],
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"outDir": "dist/web_build",
|
"outDir": "dist/web/build",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,2 +1,2 @@
|
|||||||
webpack.config.js
|
webpack.config.js
|
||||||
dist/web_build
|
dist/web/build
|
||||||
@@ -6,6 +6,6 @@
|
|||||||
],
|
],
|
||||||
"include": [ "web/**/*.tsx", "web/**/*.ts", "messages.ts", "package.json" ],
|
"include": [ "web/**/*.tsx", "web/**/*.ts", "messages.ts", "package.json" ],
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"outDir": "dist/web_build",
|
"outDir": "dist/web/build",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user