Skip to content

Instantly share code, notes, and snippets.

@kmaraz
Created September 8, 2020 00:18
Show Gist options
  • Save kmaraz/c7214f96caea34d70f6dfd7f08f87141 to your computer and use it in GitHub Desktop.
Save kmaraz/c7214f96caea34d70f6dfd7f08f87141 to your computer and use it in GitHub Desktop.
Rules definition
rules: [{
test: /\.js$/,
use: [babelLoader],
exclude: excludeNodeModulesExcept([
'debug', // <<<--- THIS IS IT FOLKS!
// And many other libraries
// '@angular',
// '@ngrx',
// 'something-in-es2018'
]),
}],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment