Skip to main content

All Questions

Tagged with
-1 votes
0 answers
28 views

Next.js Build failed because of webpack errors: CssSyntaxError

I've been stuck and going all over internet trying to figure something that prevents my app to be build on Vercell (well locally as well). npm run dev - works great, no issues stylelint and eslint ...
Fallen Angel's user avatar
0 votes
1 answer
37 views

Webpack raw-loader/style-loader importing CSS file as JavaScript string instead of CSS content

I am using Webpack to build my chrome extension and I am trying to import a CSS file as a string so that I can inject it into a shadow DOM. However, when I import the CSS file, it is imported as ...
Joel Benjamin's user avatar
0 votes
0 answers
56 views

tailwind @layer base not bundled by webpack with node_modules

I'm facing this problem of tailwind file with @layer base, components, utilities from a node_module not injected into the bundle file built by webpack. Being a beginner in terms of Tailwind CSS, it's ...
Kyle Deng's user avatar
1 vote
0 answers
68 views

How to configure Twin.macro with RsPack

I have a React JS 18 Project using webpack5 + Tailwindcss + Twin.macro for CSS in JS. I am trying to migrate to RsPack and I followed the official migration doc --> https://www.rspack.dev/guide/...
Vishal Nair's user avatar
  • 2,181
1 vote
1 answer
146 views

Having trouble with compiling with Webpack Encore en Svelte Flowbite

I've been fiddling around with a project running Symfony 7 as backend together with Webpack Encore to handle all my style and JS stuff. It has been running great with Tailwind and DaisyUI. I then ...
Gerben321's user avatar
0 votes
0 answers
138 views

Tailwind classes are not generated or not added to css file

I have a react project, that is configured using webpack (no vite or create-react-app), uses scss for styling and electron. I tried to integrate tailwind to it using official guides. Created tailwind....
Annie H.'s user avatar
  • 247
0 votes
1 answer
95 views

Having an Issue with hover not working with postcss/tailwind in certian instances

Context: I am using postcss and tailwind bundled with webpack. I am trying to use a generic button module (styles in _btn.css) to use throughout a website I'm building. When I have the button ...
Matt Melester's user avatar
0 votes
0 answers
33 views

How can i split code with webpack for a html project?

I am trying to setup my html project with webpack. I am also using tailwind. I want to split my code so that i don't have to copy and paste same code. Example: Document <!-- header.html goes here ...
Mohammad Sakib's user avatar
-1 votes
1 answer
331 views

Failed to load webpack config. Error [ERR_REQUIRE_ESM]: require() of ES Module is not supported

Hey I have build a webpack project. I am trying to setup tailwindcss but because of dependancy of some node module I am getting this error when creating a dev build. Error: [webpack-cli] Failed to ...
Rishav Bharti's user avatar
0 votes
0 answers
73 views

NPM/Yarn Watch won't watch .twig files (tailwind, webpack, laravel-mix)

I have an issue since upgrading packages on a new theme I'm building in Timber & Twig for WordPress. I have older versions of build tools that work no issue. The problem When I run yarn watch, ...
Mat's user avatar
  • 494
0 votes
1 answer
397 views

Does Tailwind CSS tree-shaking work with @apply rules inside *.scss modules?

It's my understanding that Tailwind CSS will tree-shake to only provide bundled CSS with the classes that I'm using. So in the following example: <div class="flex flex-row"> </div&...
l00sed's user avatar
  • 51
0 votes
0 answers
97 views

Tailwind CSS styles applied locally, but not when deployed on Render

I've deployed my portfolio on render.com but it isn't incorporating the Tailwind CSS that is reflected when I run it locally. I'm a Tailwind CSS noob so any help would be greatly appreciated... I ...
Michael Norris's user avatar
0 votes
0 answers
536 views

Angular 17 tailwindcss sass-loader

After updating to Angular 17 an error with styles occurred: ./src/styles.scss - Error: Module build failed (from ./node_modules/sass-loader/dist/cjs.js): $color: theme("colors.primary.600") ...
Sergey Dudik's user avatar
1 vote
0 answers
189 views

How hash classes on NextJS v13.5.2 with tailwind css?

I'm trying to hash classes used in a project, Nextjs v13.5.2. For example, the class name .block must be hashed to .wrtbxc. I tried using webpack but it doesn't affect the classes in any way. My ...
IT_ TI's user avatar
  • 11
0 votes
0 answers
185 views

Convert external css to inline in Nextjs13

I am trying to convert the external css to embed but have not found any solution yet for nextjs 13. Any leads on this would be highly appreciated. I tried critters, html-inline-css-webpack-plugin and ...
Saroj Bhattarai's user avatar

15 30 50 per page
1
2 3 4 5
13