Cleaned up WP config a bit, removed excludes otherwise WP complained about a missing loader

This commit is contained in:
Léon Rodenburg 2017-11-20 20:12:11 +01:00
parent 8183ca522d
commit 79246c98dc
No known key found for this signature in database
GPG Key ID: 115F06257AAC658D

View File

@ -71,17 +71,14 @@ export default function() {
},
{
test: /\.html$/,
exclude: /node_modules\/(?!(polymer-redux|polymer-webpack-loader)\/).*/,
use: [
{ loader: require.resolve('babel-loader') },
{ loader: 'polymer-webpack-loader', options: { processStyleLinks: true } },
{
loader: require.resolve('polymer-webpack-loader'),
options: { processStyleLinks: true },
},
],
},
{
test: /\.js/,
use: [require.resolve('babel-loader')],
exclude: /node_modules\/(?!(polymer-redux|polymer-webpack-loader)\/).*/,
},
],
},
resolve: {