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:
Hornwitser committed 2023-11-29 18:02:27 +01:00
1 parent 0a4368d1c0
commit f1edbd78cb
14 files changed
+14 -14

No files matched your search

+1 -1
View File
@@ -1,2 +1,2 @@
webpack.config.js
dist/web_build
dist/web/build
+1 -1
View File
@@ -7,6 +7,6 @@
"include": [ "web/**/*.tsx", "web/**/*.ts", "package.json" ],
"compilerOptions": {
"rootDir": "..",
"outDir": "dist/web_build",
"outDir": "dist/web/build",
}
}
+1 -1
View File
@@ -1,2 +1,2 @@
webpack.config.js
dist/web_build
dist/web/build
+1 -1
View File
@@ -6,6 +6,6 @@
],
"include": [ "web/**/*.tsx", "web/**/*.ts", "messages.ts", "package.json" ],
"compilerOptions": {
"outDir": "dist/web_build",
"outDir": "dist/web/build",
}
}
+1 -1
View File
@@ -1,2 +1,2 @@
webpack.config.js
dist/web_build
dist/web/build
+1 -1
View File
@@ -6,6 +6,6 @@
],
"include": [ "web/**/*.tsx", "web/**/*.ts", "messages.ts", "instance.ts", "package.json" ],
"compilerOptions": {
"outDir": "dist/web_build",
"outDir": "dist/web/build",
}
}
+1 -1
View File
@@ -1,2 +1,2 @@
webpack.config.js
dist/web_build
dist/web/build
+1 -1
View File
@@ -6,6 +6,6 @@
],
"include": [ "web/**/*.tsx", "web/**/*.ts", "messages.ts", "package.json" ],
"compilerOptions": {
"outDir": "dist/web_build",
"outDir": "dist/web/build",
}
}
+1 -1
View File
@@ -1,2 +1,2 @@
webpack.config.js
dist/web_build
dist/web/build
+1 -1
View File
@@ -6,6 +6,6 @@
],
"include": [ "web/**/*.tsx", "web/**/*.ts", "messages.ts", "package.json" ],
"compilerOptions": {
"outDir": "dist/web_build",
"outDir": "dist/web/build",
}
}
+1 -1
View File
@@ -1,2 +1,2 @@
webpack.config.js
dist/web_build
dist/web/build
@@ -6,6 +6,6 @@
],
"include": [ "web/**/*.tsx", "web/**/*.ts", "package.json" ],
"compilerOptions": {
"outDir": "dist/web_build",
"outDir": "dist/web/build",
}
}
+1 -1
View File
@@ -1,2 +1,2 @@
webpack.config.js
dist/web_build
dist/web/build
+1 -1
View File
@@ -6,6 +6,6 @@
],
"include": [ "web/**/*.tsx", "web/**/*.ts", "messages.ts", "package.json" ],
"compilerOptions": {
"outDir": "dist/web_build",
"outDir": "dist/web/build",
}
}