Skip to content

Commit 2f6b4c4

Browse files
committed
1 parent 3e0799f commit 2f6b4c4

File tree

7 files changed

+685
-148
lines changed

7 files changed

+685
-148
lines changed

babel.config.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ module.exports = function babelConfig(api) {
2828
"lodash"
2929
];
3030
if (api.env("development")) {
31-
// XXX FIXME react-18
32-
// plugins.push(["react-hot-loader/babel", { safetyNet: false }]);
31+
plugins.push("react-refresh/babel")
3332
}
3433
if (process.env.BABEL_INCLUDE_TIMING_FUNCTIONS === "false") {
3534
plugins.push(["strip-function-call", {strip: ["timerStart", "timerEnd"]}]);

cli/develop.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ const run = (args) => {
6060

6161
app.use((webpackDevMiddleware)(
6262
compiler,
63-
{logLevel: 'warn', publicPath: webpackConfig.output.publicPath}
63+
{publicPath: webpackConfig.output.publicPath}
6464
));
6565
app.use((webpackHotMiddleware)(
6666
compiler,

0 commit comments

Comments
 (0)