Questions tagged [postcss]

PostCSS is a tool for transforming styles with JavaScript plugins. These plugins can support variables, mixins, transpile future CSS syntax, inline images, and more.

PostCSS is used by industry leaders including Google, Twitter, Alibaba, and Shopify. The Autoprefixer PostCSS plugin is one of the most popular CSS processors.

PostCSS can do the same work as preprocessors like Sass, Less, and Stylus. But PostCSS is modular, 3-30 times faster, and much more powerful.

1028 questions
-1
votes
1 answer

The browser tells "failed to compile"

i import the bootstrap vue like this: import 'bootstrap/dist/css/bootstrap.css' import 'bootstrap-vue/dist/bootstrap-vue.css' i already tried consulting all forums with similar questions but nothing import 'bootstrap/dist/css/bootstrap.css' import…
-1
votes
1 answer

ERROR in ./~/css-loader!./~/postcss-loader/lib!./~/rc-range-slider/lib/Slider/slider.css

I added the rc-range-slider package to my project and started getting the error messages listed in the next paragraph when I tried to compile my react project using Webpack ^2.5.1. The suggested webpack config in the NPM site for this slider is…
Stephen Isienyi
  • 1,292
  • 3
  • 17
  • 29
-1
votes
2 answers

Post CSS critical split

I need create separated critical style according https://www.npmjs.com/package/postcss-critical-split. Name of gulp task is "criticalCSS". Why its not working? gulp.task('criticalCSS', function () { return…
mirek
  • 7
  • 2
-1
votes
1 answer

paths[Symbol.iterator] is not a function(postcss plugin)

I can not understand what the problem is and how to solve it https://github.com/LPGhatguy/postcss-sassy-import/blob/master/index.js#L72 Requiring external module babel-register ../node_modules/postcss-sassy-import/index.js:72 …
-2
votes
1 answer

In Tailwind CSS, installing the PostCSS plugin, when I run "npm run build" it shows me the below error. I tried a lot of time. What should I do?

In Windows, under PowerShell: cd D:\TailwindCSS cd gs3 npm run build Output gs3@1.0.0 build D:\TailwindCSS\gs3 postcss ./src/tailwind.css -o ./public/tailwind.css internal/modules/run_main.js:54…
-2
votes
2 answers

How to render SCSS while keeping nesting?

I am creating a SCSS -> HTML plugin and need to first render SCSS -> CSS while keeping the nesting so I can then parse with PostCSS to then create an HTML tree with. I would like to render SCSS like this // myMixin.scss @mixin myMixin { .myMixin…
goo6
  • 39
  • 1
  • 3
-2
votes
1 answer
-4
votes
1 answer

How to assigned a css-next variable into another one?

Can someone confirm me if this works : in my .css file, I have: --pink-1000: #5A003C; --old-pink: var(--pink-1000); Will --old-pink have #5A003C as value ? I'm using : "postcss-cssnext": "~3.0.2", Thanks
Emidomenge
  • 1,172
  • 17
  • 26
1 2 3
68
69