Skip to content

Commit d3660b7

Browse files
committed
fix: update Webpack config to point to the patched version of preact-dom
1 parent 5e6b82b commit d3660b7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/uikit-workshop/webpack.config.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,10 @@ module.exports = function(apiConfig) {
140140
extensions: ['.js', '.jsx'],
141141
alias: {
142142
react: path.resolve(__dirname, './src/scripts/utils/preact-compat'),
143-
'react-dom': 'preact-compat',
143+
'react-dom': path.resolve(
144+
__dirname,
145+
'./src/scripts/utils/preact-compat'
146+
),
144147
},
145148
},
146149
output: {

0 commit comments

Comments
 (0)