optimize webpack dev config for use w linked pkgs
This commit is contained in:
parent
e388ed1721
commit
9d1f6cc183
@ -29,13 +29,11 @@ module.exports = merge.smart(require('./webpack.base.js'), {
|
|||||||
noParse: /localforage\.js/,
|
noParse: /localforage\.js/,
|
||||||
loaders: [
|
loaders: [
|
||||||
{
|
{
|
||||||
loader: 'babel',
|
loader: path.resolve(__dirname, './node_modules/babel-loader'),
|
||||||
test: /\.js?$/,
|
test: /\.js?$/,
|
||||||
exclude: /node_modules/,
|
exclude: /node_modules/,
|
||||||
query: {
|
query: {
|
||||||
plugins: [
|
plugins: [path.resolve(__dirname, './node_modules/react-hot-loader/babel')]
|
||||||
'react-hot-loader/babel',
|
|
||||||
],
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user