Skip to content

Commit

Permalink
excluse testcss
Browse files Browse the repository at this point in the history
  • Loading branch information
jbadan committed Oct 1, 2019
1 parent f3b369d commit 2c423cf
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions config/webpack.config.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,6 @@ module.exports = {
{ parser: { requireEnsure: false } },
{
test: /\.(js|mjs|jsx)$/,
exclude: /\.stories.js$/,
enforce: 'pre',
use: [
{
Expand All @@ -205,7 +204,6 @@ module.exports = {
},
{
test: /\.(js|mjs|jsx|ts|tsx)$/,
exclude: /\.stories.js$/,
include: paths.appSrc,

loader: require.resolve('babel-loader'),
Expand Down Expand Up @@ -233,7 +231,7 @@ module.exports = {
},
{
test: /\.(js|mjs)$/,
exclude: [/@babel(?:\/|\\{1,2})runtime/, /\.stories.js$/],
exclude: /@babel(?:\/|\\{1,2})runtime/,
loader: require.resolve('babel-loader'),
options: {
babelrc: false,
Expand All @@ -253,6 +251,7 @@ module.exports = {
},
{
test: cssRegex,
exclude: [/customStylesTest/],
loader: getStyleLoaders({
importLoaders: 1,
sourceMap: shouldUseSourceMap
Expand Down

0 comments on commit 2c423cf

Please sign in to comment.