Skip to content

Commit 7be5797

Browse files
arunodaimpronunciable
authored andcommitted
Use the preact-compat dist version. (vercel#760)
1 parent 3b3353f commit 7be5797

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/using-preact/next.config.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module.exports = {
22
webpack: function (config) {
33
config.resolve.alias = {
4-
'react': 'preact-compat',
5-
'react-dom': 'preact-compat'
4+
'react': 'preact-compat/dist/preact-compat',
5+
'react-dom': 'preact-compat/dist/preact-compat'
66
}
77
return config
88
}

0 commit comments

Comments
 (0)