Don't ignore node_modules

master
Sven Slootweg 3 years ago
parent ee460b9278
commit 05295b121e

@ -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.

@ -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;

Loading…
Cancel
Save