Skip to content

Commit

Permalink
more debug messages in fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
bahmutov committed May 28, 2020
1 parent d0d6fd7 commit 811bcdd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/clean-for-cypress.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,11 @@ const findBabelLoaderRule = (webpackOptions) => {
if (!Array.isArray(webpackOptions.module.rules)) {
return
}

debug('webpack module rules')
webpackOptions.module.rules.forEach((rule) => {
debug('rule %o', rule)
})
const babelRule = webpackOptions.module.rules.find(
(rule) => rule.loader === 'babel-loader',
)
Expand Down

0 comments on commit 811bcdd

Please sign in to comment.