Closed dhlolo closed 1 year ago
While using CustomLoader, stuck in error 'Error: true is not a PostCSS plugin'
Found that referred file should be 'postcss-modules/build/FileSystemLoader'. But in my Loader, I also installed css-modules-loader-core and copied const Core = require('css-modules-loader-core/lib/index');.
const Core = require('css-modules-loader-core/lib/index');
While using CustomLoader, stuck in error 'Error: true is not a PostCSS plugin'