Merge pull request #446 from netlify/webpack-linked-packages

optimize webpack dev config for use w linked pkgs
This commit is contained in:
Shawn Erquhart 2017-06-07 17:59:43 -04:00 committed by GitHub
commit 2df1a83799

View File

@ -29,13 +29,11 @@ module.exports = merge.smart(require('./webpack.base.js'), {
noParse: /localforage\.js/,
loaders: [
{
loader: 'babel',
loader: path.resolve(__dirname, './node_modules/babel-loader'),
test: /\.js?$/,
exclude: /node_modules/,
query: {
plugins: [
'react-hot-loader/babel',
],
plugins: [path.resolve(__dirname, './node_modules/react-hot-loader/babel')]
},
},
],