mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 22:41:12 +08:00
Cleaned up WP config a bit, removed excludes otherwise WP complained about a missing loader
This commit is contained in:
parent
8183ca522d
commit
79246c98dc
@ -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: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user