mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
fix(phone/watch): Fixed in-game watch and prevent debug inject
If using the `watch` script in game, the debug injections will not occur.
This commit is contained in:
1 parent
8dc59c47bd
commit
71bb73b54e
3 files changed
+9
-10
No files matched your search
@@ -1,4 +1,4 @@
|
||||
const path = require('path')
|
||||
const path = require('path');
|
||||
|
||||
const {
|
||||
addAfterLoader,
|
||||
@@ -54,13 +54,13 @@ module.exports = {
|
||||
|
||||
if (!babelLoaderIsAdded) throwError('failed to add back babel-loader for non-application JS');
|
||||
|
||||
paths.appBuild = webpackConfig.output.path = path.resolve('../resources/html')
|
||||
paths.appBuild = webpackConfig.output.path = path.resolve('../resources/html');
|
||||
|
||||
return webpackConfig;
|
||||
},
|
||||
},
|
||||
devServer: (devServerConfig) => {
|
||||
devServerConfig.writeToDisk = true
|
||||
return devServerConfig
|
||||
}
|
||||
devServerConfig.writeToDisk = true;
|
||||
return devServerConfig;
|
||||
},
|
||||
};
|
||||
Reference in new issue
Block a user