Closed yourchoice closed 2 years ago
Warning: [object Object] is not a PostCSS plugin Use --force to continue.
postcss: { options: { processors: [ require(nmPathGlogal+'autoprefixer')({overrideBrowserslist: 'last 2 versions'}), ] }, site: { src: '../dist/css/site/*.css' }, }
I get the above warning in grunt
This error is coming when you use PostCSS 7 with PostCSS 8 plugin.
Update gulp-postcss to the latest version (and be sure that you are installed postcss to your package.json dependencies).
gulp-postcss
postcss
package.json
Warning: [object Object] is not a PostCSS plugin Use --force to continue.
I get the above warning in grunt