customize-cra icon indicating copy to clipboard operation
customize-cra copied to clipboard

Broken project launch and hot reload.

Open ghost opened this issue 5 years ago • 5 comments

Hello, i have a problem when i use this plugin. The project create by create-react-app, i use 'yarn start',it works. After I used customize-cra to add a simple webpack plugin, I started the project again and the project went blank. If I wanted to see the content, I had to force a refresh of the browser to succeed. I have tried many times, and when I closed customize-cra, the project can be used normally, I want to know if you have encountered this problem.

Looking forward to your reply, thank you very much!

ghost avatar Dec 26 '19 05:12 ghost

Hello, i have a problem when i use this plugin. The project create by create-react-app, i use 'yarn start',it works. After I used customize-cra to add a simple webpack plugin, I started the project again and the project went blank. If I wanted to see the content, I had to force a refresh of the browser to succeed. I have tried many times, and when I closed customize-cra, the project can be used normally, I want to know if you have encountered this problem.

Looking forward to your reply, thank you very much!

I have the same problem. I think there are something wrong with addWebpackPlugin. It work fine when I remove addWebpackPlugin from the config-overrides.js

tridungle avatar Jan 07 '20 07:01 tridungle

Ran into the exact same issue. Had to disable the plugin entirely to avoid the refresh problem.

jbberinger avatar Mar 27 '20 13:03 jbberinger

@jbberinger When I remove the plugin, it returned to normal. Why is it?

archiewx avatar Apr 06 '20 08:04 archiewx

@zsirfs I'm not sure.

jbberinger avatar Apr 30 '20 23:04 jbberinger

不是 customize-cra 引起的问题,我将 CRA的项目eject之后,在webpack.config.js中,添加这个 antd-dayjs-webpack-plugin plugin,启动项目依然是白屏,需要刷新

XianZhengquan avatar Jun 11 '20 04:06 XianZhengquan