Compare commits

...

2 Commits

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

@ -1,6 +1,6 @@
{
"name": "icss-register",
"version": "1.0.0",
"version": "1.1.0",
"main": "index.js",
"repository": "https://git.cryto.net/joepie91/icss-register.git",
"author": "Sven Slootweg <admin@cryto.net>",

Loading…
Cancel
Save