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

use react-hot-loader/webpack (#338)

This commit is contained in:
Naoyuki Kanezawa 2016-12-06 02:09:38 +09:00 committed by Guillermo Rauch
parent 5c64041dd7
commit 9990a5fc78

View file

@ -84,6 +84,10 @@ export default async function createCompiler (dir, { hotReload = false, dev = fa
join(dir, 'pages'),
nextPagesDir
]
}, {
test: /\.js$/,
loader: 'react-hot-loader/webpack',
exclude: /node_modules/
}] : [])
.concat([{
test: /\.json$/,