1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00

Use the preact-compat dist version. (#760)

This commit is contained in:
Arunoda Susiripala 2017-01-13 06:40:07 -08:00 committed by Dan Zajdband
parent 3b3353f821
commit 7be5797cc2

View file

@ -1,8 +1,8 @@
module.exports = {
webpack: function (config) {
config.resolve.alias = {
'react': 'preact-compat',
'react-dom': 'preact-compat'
'react': 'preact-compat/dist/preact-compat',
'react-dom': 'preact-compat/dist/preact-compat'
}
return config
}