mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-03 14:38:45 +00:00
fix(phone/watch): Implement watch using craco and writing to disk
This commit is contained in:
1 parent
1ef01f291b
commit
771483b7b5
2 files changed
+5
-2
No files matched your search
@@ -59,4 +59,8 @@ module.exports = {
|
||||
return webpackConfig;
|
||||
},
|
||||
},
|
||||
devServer: (devServerConfig) => {
|
||||
devServerConfig.writeToDisk = true
|
||||
return devServerConfig
|
||||
}
|
||||
};
|
||||
+1
-2
@@ -46,7 +46,6 @@
|
||||
"@types/react-router-dom": "^5.1.7",
|
||||
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.1",
|
||||
"cp-cli": "^2.0.0",
|
||||
"cra-build-watch": "^3.2.0",
|
||||
"cross-env": "^7.0.2",
|
||||
"ts-loader": "^8.1.0",
|
||||
"typescript": "3.9.7"
|
||||
@@ -55,7 +54,7 @@
|
||||
"i18n:missing": "node --experimental-json-modules i18n.missingKeys.js",
|
||||
"copy:config": "cp-cli ../config.json ./src/config.autogen.json",
|
||||
"start": "craco start",
|
||||
"watch": "cra-build-watch --disable-chunks --build-path ../resources/html --output-filename dev.js",
|
||||
"watch": "craco watch",
|
||||
"build": "yarn copy:config && craco build",
|
||||
"test": "craco test --watchAll=false --testMatch **/src/**/*.test.{ts,js,tsx}",
|
||||
"build:craco": "craco build"
|
||||
|
||||
Reference in new issue
Block a user