optimize webpack dev config for use w linked pkgs

This commit is contained in:
Shawn Erquhart 2017-06-07 14:06:27 -04:00
parent e388ed1721
commit 9d1f6cc183

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')]
},
},
],