Skip to content

Commit

Permalink
fix: dataset modal doesn't work in dev mode (#18658)
Browse files Browse the repository at this point in the history
* fix: dataset modal in dev mode

* remove cache

* add comment
  • Loading branch information
stephenLYZ committed Feb 10, 2022
1 parent 12cddb7 commit 8212975
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions superset-frontend/webpack.config.js
Expand Up @@ -344,6 +344,14 @@ const config = {
],
use: [babelLoader],
},
// react-hot-loader use "ProxyFacade", which is a wrapper for react Component
// see https://github.com/gaearon/react-hot-loader/issues/1311
// TODO: refactor recurseReactClone
{
test: /\.js$/,
include: /node_modules\/react-dom/,
use: ['react-hot-loader/webpack'],
},
{
test: /\.css$/,
include: [APP_DIR, /superset-ui.+\/src/],
Expand Down

0 comments on commit 8212975

Please sign in to comment.