Skip to content
This repository was archived by the owner on Feb 27, 2018. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add levels to main src for babel transformation
  • Loading branch information
Vittly committed Aug 9, 2017
commit 15f793554db051a6688d2fb2d9f2a0c67c5d580b
2 changes: 1 addition & 1 deletion packages/bem-react-scripts/config/webpack.config.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ module.exports = {
},
},
],
include: paths.appSrc,
include: [paths.appSrc].concat(Object.keys(paths.appLevels)),
},
// ** ADDING/UPDATING LOADERS **
// The "url" loader handles all assets unless explicitly excluded.
Expand Down
2 changes: 1 addition & 1 deletion packages/bem-react-scripts/config/webpack.config.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ module.exports = {
},
},
],
include: paths.appSrc,
include: [paths.appSrc].concat(Object.keys(paths.appLevels)),
},
// The notation here is somewhat confusing.
// "postcss" loader applies autoprefixer to our CSS.
Expand Down