Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
1 vote
0 answers
55 views

I have a CSS file with a @font-face declaration where font paths are specified as url("./icons/tficons.woff2"). However, when building with Webpack, these paths get rewritten to url(../tflex-...
0 votes
0 answers
39 views

I'm using Webpack 5+ and [email protected], postcss-loader @8.x but I've encountered an issue after upgrading. The compileType option, which was previously used in the css-loader configuration, is now ...
0 votes
0 answers
34 views

I have css-loader version 7.1.2 and according to their release notes, I have to structure my code as such: In my component, I imported the style: import * as styles from './mycomponent.module.less' I ...
1 vote
1 answer
72 views

I am trying to convert a legacy codebase of LESS files to CSS modules. I updated the webpack's css-loader to look like this: { loader: 'css-loader', options: { modules: { // for now, ...
0 votes
0 answers
5 views

I have a big project that uses ChartIQ. In the past, we used react-scripts start for run the project Now we are using react-app-rewired start for run with the ChartIQ implementation. It's not a main ...
1 vote
1 answer
218 views

I have a webpack config which contains sass-loader. When i remove the sass-loader i can see properly generated source maps. But when i add sass-loader back sourcemaps are broken. entry: { ...
1 vote
2 answers
210 views

for some reason webpack is not recognizing css-loader, despite it being in the config and being installed. Here is my webpack.config.json const path = require('path') module.exports = { entry: './...
0 votes
0 answers
59 views

I want to give complex class names in css with webpack, I have already done this. My current situation is that I import my css file to a js file and perform dynamic operations using the original names....
0 votes
0 answers
57 views

I am building a chrome extension utilizing react, webpack, tailwindcss and css modules. But, when I try to import css modules into my react component, it turns out to be undefined. src/InjectedPopup/...
0 votes
2 answers
795 views

I am using CSS Module and SCSS as my styling in my app, but when I import my styles as: import styles from './landing.module.scss' The imported styles is undefined. I am using: "css-loader":...
1 vote
0 answers
60 views

I use CSS Modules. I don't need resolving of url, but I need replace url paths with my custom function call so that I could get the full url at runtime by myself with my custom logic. For example, &...
1 vote
0 answers
702 views

Try to use thread-loader with mini-css-extract-plugin. When run npm build script, got error: > cross-env NODE_ENV=production webpack assets by status 958 bytes [cached] 1 asset runtime modules 663 ...
2 votes
2 answers
759 views

I am setting up UI Storybooks with its newer version of 8.1.4 but could not get the style-loader and css-loader to work in a compatible way such that CSS modules can be properly loaded into the canvas ...
3 votes
1 answer
661 views

I imported data from module.css, however it is undefined. import styles from "../css/basic-styles.module.css"; console.log(styles) // undefined. My basic-styels.module.css has data *{ ...
1 vote
1 answer
654 views

Using the latest version of css-loader with Webpack 5.91.0, the imported CSS modules are always undefined when enabling cssModules. (This issue was resolved by downgrading css-loader to version 5.0.0.)...

15 30 50 per page
1
2 3 4 5
...
36

AltStyle によって変換されたページ (->オリジナル) /