diff --git a/README.md b/README.md index 61c4289..aa8009e 100644 --- a/README.md +++ b/README.md @@ -58,6 +58,10 @@ Removes the ICSS handling hook, essentially disabling the module. ## Changelog +### v1.1.0 (February 17, 2021) + +- No longer ignores CSS imports in node_modules + ### v1.0.0 (February 17, 2021) - Now actually properly validates arguments, with useful error messages. diff --git a/index.js b/index.js index 6202b9d..426f390 100644 --- a/index.js +++ b/index.js @@ -105,9 +105,10 @@ module.exports = function registerICSS(_options) { let extensions = options.extensions; + // TODO: Figure out a way to allow specifying custom PostCSS (and other transpilation?) configs from within a package let unhook = pirates.addHook( (code, fullPath) => process(fullPath, code), - { exts: extensions } + { exts: extensions, ignoreNodeModules: false } ); return unhook;