Closed (fixed)
Project:
radix
Version:
8.x-4.8
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
10 Apr 2020 at 08:04 UTC
Updated:
24 Apr 2020 at 08:44 UTC
Jump to comment: Most recent
Hello,
I have modified the path of the components directory (in the .info file) :
- ./src/components > - ./src/twig/components
But, when I compile the css & js files I get this error :
Uncaught Error: Module build failed (from ./node_modules/css-loader/index.js):
ModuleBuildError: Module build failed (from ./node_modules/sass-loader/lib/loader.js):
undefined
^
Can't find stylesheet to import.
╷
54 │ @import "../components/node/node";
The default path of component directory is used to compile files.
There is no possibilities to alter the component path and compile files without problem?
thanks.
Comments
Comment #2
kumkum29 commentedAlso, we must modify the path in the subtheme.style.scss !
After, we delete the subtheme.js and subtheme.css files before to recompile the files.
Now, this problem seems to be resolved...
Comment #3
kumkum29 commented