Skip to content

Commit

Permalink
fix: update Webpack config to point to the patched version of preact-dom
Browse files Browse the repository at this point in the history
  • Loading branch information
sghoweri committed Jun 28, 2020
1 parent 5e6b82b commit d3660b7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/uikit-workshop/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,10 @@ module.exports = function(apiConfig) {
extensions: ['.js', '.jsx'],
alias: {
react: path.resolve(__dirname, './src/scripts/utils/preact-compat'),
'react-dom': 'preact-compat',
'react-dom': path.resolve(
__dirname,
'./src/scripts/utils/preact-compat'
),
},
},
output: {
Expand Down

0 comments on commit d3660b7

Please sign in to comment.