postcss Questions

3

I am working in react with typescript and tailwindcss. What I want is that instead of using @apply directive in main tailwind.css file (the file which conatins @tailwind base, @tailwind components,...
Wilcox asked 1/1, 2021 at 19:28

3

Unknown error from PostCSS plugin. Your current PostCSS version is 8.3.0, but postcss-preset-env uses 7.0.36. any one knows why this error is happening?
Titania asked 17/8, 2021 at 4:59

4

Solved

When creating a new project under create-react-app, you get warnings straight away regarding a vulnerability found in postcss. Issue reported by npm: https://www.npmjs.com/advisories/1693 Related o...
Counterattraction asked 12/5, 2021 at 10:23

2

fairly new to Tailwind and PostCSS/PurgeCSS, so hoping this is a fairly simple fix. In my tailwind.config.js, I am extending some of the spacing values, including adding a 0.5 value to align with ...
Donnell asked 5/3, 2020 at 18:15

1

Solved

I'm trying to use purgecss to remove any unused css, particularly the unused css from Bootstrap. With Purgecss setup, all my css is being removed, and only inline styling remains. This means purgec...
Ungley asked 14/5, 2021 at 20:27

1

I'm trying to upload my code onto a server but it won't allow me because of moderate vulnerabilities. I've narrowed down my issue to an old version postcss downloaded from installing react app, spe...
Indescribable asked 11/5, 2021 at 0:46

3

Solved

I am trying to find out, what the postcss-loader is good for. On the github page https://github.com/postcss/postcss-loader it says: Loader for webpack to process CSS with PostCSS I dont't get ...
Glyptograph asked 19/3, 2018 at 10:52

3

Solved

I'm trying to set up rollup to use both SCSS stylesheets and the Lost grid system, which needs to be parsed through PostCSS. I've verified that the SCSS is being parsed correctly, but the PostCSS p...
Operator asked 13/12, 2016 at 19:0

2

I followed this installation step to configure tailwindcss in create-react-app. It works, but after adding tailwindcss/jit, app is not working. I think that it happens because create-react-app does...
Stuffed asked 15/3, 2021 at 19:15

1

I am writing a react component library with typescript, sass and rollup, and I want it to be as standalone as possible. Does anyone have a suggestion on how to best include assets (images and fonts...
Goff asked 24/3, 2020 at 15:13

1

Solved

I have a Gatsby and Sanity site that's based on a starter project. Everything has worked great so far, but I updated all of my packages and plugins today in my package.json file to get rid of all n...
Redpencil asked 9/3, 2021 at 2:2

1

Solved

I'm trying to set up a tailwind css for my personal project. It's a react SSR application. I'm having an issue with postcss setup under the webpack configuration. It throws the same error on every ...
Gavingavini asked 13/2, 2021 at 15:35

2

Solved

I am trying to build a mobile app with Svelte.js and Ionic v4. 1) I got the svelte-template. 2) Installed ionic with npm install @ionic/core@latest --save. 3) Installed postcss and imported @ion...
Sighted asked 29/10, 2019 at 16:31

2

Solved

I'd like to minify my classnames (for very minimal source protection purposes) in both my output CSS files and in the rendered JSX from my React components similarly to this Webpack plugin: https:/...
Anatola asked 14/2, 2018 at 18:50

1

Solved

Is it possible to use tailwind and postcss syntax for blazor component isolated css? I really like Tailwind as a CSS framework specifically its use of postcss and the @apply functionality where you...
Dorman asked 16/12, 2020 at 9:5

1

When I use Tailwind to style an Angular application with a custom webpack, the styles.js chunk is huge after running ng build, coming in at around 30mb. This not only takes forever to build, but al...
Incentive asked 30/11, 2020 at 21:33

1

Solved

Module build failed (from ./node_modules/css-loader/dist/cjs.js): CssSyntaxError (1:4) Unknown word > 1 | // style-loader: Adds some css to the DOM by adding a <style> tag | ^ 2 | ...
Michaella asked 17/7, 2019 at 23:18

1

Solved

I'm trying to use Tailwindcss in my Nextjs project. The problem is that some of the classes that Tailwind Css has built-in are not working (like grid or active: pseudo class). I have this page: I...
Poinsettia asked 10/2, 2020 at 3:55

3

I have a project using Webpack that utilises PostCSS loader and code splitting. The CSS for modules is imported directly into entrypoints as per the below using SASS loader. import '@/css/modules/...
Palpitation asked 15/5, 2019 at 10:49

2

How do I use the output from node-sass to pass through postcss autoprefixer. I'm not looking to use any webpack or gulp. I'm purely using the cli from the node packages This is my current npm sc...
Occupancy asked 31/10, 2017 at 9:57

5

Solved

I just upgraded to Gulp v4 and was wondering why my gulpfile isn't working anymore. I tried the new code of the new documentation but it didn't worked out as planned because I'm using "pure" postc...
Volvulus asked 30/8, 2018 at 10:52

1

Solved

since migration from less to css, visual studio code is giving me a hard time. When editing *.less files, autocomplete work wonderfully and shows information like that: However, when I do the sa...
Vallejo asked 1/4, 2020 at 14:55

1

I used postcss, postcss-css-modules and posthtml-css-modules to implement CSS Modules in a Angular Application. I also used @angular-builders/custom-webpack to achieved this. Now, I want to do the...
Education asked 30/3, 2020 at 18:29

3

I have a deployed project built with the Parcel.js bundler. After applying CSS Autoprefixer and redeploying the website almost all of my website's styles are broken. I'm really not sure what has ...
Piet asked 20/5, 2019 at 22:19

0

I have a Custom Angular Library and I would like to customize the build of that Library using postcss. Like the Angular Libraries are built using ng-packagr, I need to extend the rollup.config.js ...
Ravenna asked 31/3, 2020 at 16:54

© 2022 - 2024 — McMap. All rights reserved.