Goal  I'm updating my old gulpfile.js, which used to be mainly for compiling my Sass into CSS, but now I'm trying to get Gulp to do the following:    Sync browser, whip up localhost server - DONE Compile Sass => CSS  - DONE Show any JavaSc...
I am using CSS Modules in an Angular Project with Webpack. I had already transformed the class names in .css and .scss files with postcss-modules.  Then with posthtml-css-modules I had changed the values on the class property in html elements for his...
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'm writing a CLI that uses PostCSS and even though I don't have uncss in the plugins array, I'm getting error reports from uncss.  Is there  a way to have PostCSS print out what plugins are currently loaded?  This issue is related to thi...
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 a React web application where i use CSS modules. I am using Webpack to build the application.   Related part from the webpack.config.js :    {     test: /\.css$/,     use: extractCSS.extract(     {       fallback: 'style-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...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.