diff --git a/src/clean-for-cypress.js b/src/clean-for-cypress.js index c764881..83fe55c 100644 --- a/src/clean-for-cypress.js +++ b/src/clean-for-cypress.js @@ -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', )