24 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
2k
views
React Module Error sass-loader and type-error resolve-url-loader
I wanted to learn more React in general and because I need it for university project now. I got 2 projects from a friend who is a decent developer but I can not run them on my computer without any ...
0
votes
2
answers
2k
views
Getting 'Module parse Failed' Error after Upgrading Angular application from 14 to 15
I have upgraded my project from Angular 14 to 15 and see this error and I don't find any solution.
./node_modules/@swimlane/ngx-datatable/assets/icons.css?ngGlobalStyle:1:0 - Error: Module parse ...
1
vote
0
answers
39
views
How do you effectively solve node module issues when google isn't providing many answers?
I received this issue and google isn't providing many case-specific examples to work from. Can anyone decode this? I am not really sure what the main issue is.
I have followed the file path of the ...
3
votes
0
answers
1k
views
Webpack: Error: resolve-url-loader: error processing CSS
Goal: To reduce the SSR compilation time, we have moved the import of node_modules style files from JS files to CSS files.
Example:
import 'react-multi-email/style.css'; => remove from .js file
@...
1
vote
0
answers
424
views
Error during bundle: Error: Unexpected character '' (Note that you need plugins to import files that are not JavaScript)
I added font to react typescript project after that I try to build but its showing error
Error during bundle: Error: Unexpected character '' (Note that you need plugins to import files that are not ...
1
vote
1
answer
2k
views
SassError: Can't find stylesheet to import. (not from node_modules) (using mochapack)
Attempting to load SCSS files from the relative path within Vue component fails.
Config details:
Using "mochapack": "^2.1.2",
Using "sass-loader": "^10.2.0",
...
1
vote
1
answer
2k
views
Vite with url-loader
I need to handle GLTF and HDR files in my Vue/Three.js application. This doesn't work out of the box with Vite. With Webpack I can set this in the Webpack config
module.exports = {
module: {
...
2
votes
2
answers
6k
views
Using Tailwind Arbitrary Value Support with SCSS
How to use the new TailwindCSS Arbitrary Value Support with SCSS modules in Next.js?
The following code's CSS version was working well, but the SCSS version is throwing error:
// styles/foo.module....
1
vote
1
answer
829
views
Webpack: How to rewrie URL in .css
For 3 days straight I am having a trouble to setup Webpack for staging purposes.
The goal is to rewrite url of assets in final .css file (frontend.css) like this:
Let's say that in .scss file I have:
...
1
vote
0
answers
144
views
Unable to properly webpack build scss file containing relative url() references without placing main file in 3rd party library directory
Not exactly sure how to phrase this, so bear with me.
I'm having url() relative path problems during the build of a scss file, while using a 3rd party theme (PrimeVue) together with my webpack setup. ...
3
votes
1
answer
2k
views
Webpack - different font path for build and production css in the less-loader
I'm trying to create an CSS from LESS with webpack. My source folder have following hierarchy:
fonts
desyrel
desyrel_-webfont.woff
less
ds-handwritten.less
Content of less file include ...
1
vote
1
answer
2k
views
Webpack - resolve-url-loader does not resolve paths correctly
I have a problem with setting up resolve-url-loader correctly in my webpack config. It does not seem to resolve paths in scss files at all.
Here is my project folder structure:
├───config
│ └───...
3
votes
0
answers
1k
views
SCSS How to load style url references relative to source files (Error: relative modules were not found)
first of all thank you for any help, you are awesome.
I am struggling with this setup to make url referenced resources from scss work correctly. I mean to load by webpack and make them work in ...
0
votes
0
answers
279
views
Module parse failed: Unexpected character '@' with resolve-url-loader
I've been trying for a while to adjust my webpack configuration to load SVG's that are defined as background in a .scss. So far I always had the problem that the path of the .svg could not be found. ...
1
vote
2
answers
6k
views
webpack sass-loader won't resolve urls
While css files resolve just fine, in scss it simply won't resolve. Does anyone knows the solution?
Sass-loader tells me to use 'resolve-url-loader', but I can't make it work.
Im trying to add font-...