Hi All,
I want to include scss file from one of modules under node_modules. I tried to include it using
@import '~one-ui-core/src/sass/vendors/_custom-bootstrap'; But some how it is failing. Can you please help me.
Also I tried to add path to sass loader but that didn't worked. Here is the path to sassloader
sassLoader: {
includePaths: [path.resolve(__dirname, "node_modules/one-ui-core")]
},
Let me know if you have any question. Appreciate your help.
ERROR Msg:
@import '~one-ui-core/src/sass/vendors/_custom-bootstrap'; // core ││ │
│ ^ ││ Failed │
│ File to import not found or unreadable: ~one-ui-core/src/sass/vendors/_custom-bootstrap ││ │
│ Parent style sheet: stdin
Hi All, I want to include scss file from one of modules under node_modules. I tried to include it using @import '~one-ui-core/src/sass/vendors/_custom-bootstrap'; But some how it is failing. Can you please help me.
Also I tried to add path to sass loader but that didn't worked. Here is the path to sassloader sassLoader: { includePaths: [path.resolve(__dirname, "node_modules/one-ui-core")] },
Let me know if you have any question. Appreciate your help.
ERROR Msg:
@import '~one-ui-core/src/sass/vendors/_custom-bootstrap'; // core ││ │ │ ^ ││ Failed │ │ File to import not found or unreadable: ~one-ui-core/src/sass/vendors/_custom-bootstrap ││ │ │ Parent style sheet: stdin