I've recently started implementing CSS custom properties but need to support IE11 - hence the requirement for postcss-preset-env. So far I've discovered Angular's webpack config is not very customizable, but I have since installed custom...
I am trying to use the wepback loader and plugin for PostCSS autoprefixer. All the SCSS is compiling but not getting prefixed.   This is what I have in my config:  loaders: {     {         test: /\.css$/,         loader: "style-loader!css-loader!...
I have page.css that @imports index.css.  Both of page.css and index.css has display: flex.  Webpack.config.js contains:  module: {     loaders: [         { test: /\.css$/, loader: "style-loader!css-loader!postcss-loader" }     ] }, postcss:...
I am using Webpack 4.   I have two entry points in my webpack.config.js, for each of which I am generating a separate CSS file using mini-css-extract-plugin.  const webpack = require('webpack') const path = require('path') const MiniC...
I have installed postcss-import and postcss-simple-vars. I want to save all my color choices in a single file and then just use $orange instead of the hexcode whenever I need to. It is not working at the moment.  If I include the variable name+hexcod...
I realize that there are several questions related to this error floating around, but as far as I can tell this is a unique situation and not related to an incorrect import statement.  I'm building a React component library with TypeScript and we...
I am using this library for slideshows called Flickity that requires to use its css file flickity.min.css. In my project I use postCSS and when including this flickity.min.css into my components css like:  @import ./lib/flickity.min   its classes get...
I work with Augmented UI in my Gatsby project, every thing works great in dev mode.  When I go with build command, I got this log error:  info bootstrap finished - 4.630 s ? failed Building production JavaScript and CSS bundles - 9.761s   ERROR #9812...
I recently saw a demo page of a CSS polyfill which uses PostCSS's CSS parser to read and parse style sheets.  That demo page is here. It's the step 4 of a step-by-step tutorial. If you check the console, you can see that it logs an object con...
Hello I’ve been experimenting with PostCSS and am struggling a bit with writing a plugin that appends a new rule when it finds certain CSS properties.  What I’m trying to achieve…  Starting CSS:  .selector {     color: red;     not-yet-standard...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.