angular 15 how can I avoid long relative paths import

This issue has been tracked since 2023-01-20.

Angular 15

I want to '@import 'variables.scss' like this instead of '@import '../../../assets/scss/variables.scss;'

my code in project.json file

   "stylePreprocessorOptions": {
                    "includePaths": ["apps/client/src/assets/scss","./node_modules"]
    },

I get an error like this when I defined this short '@import 'variables.scss'

Error: Transform failed with 1 error:
C:/my-project/home.component.scss:17: 100 : ERROR: Unterminated string token

More Details About Repo
Owner Name angular
Repo Name angular
Full Name angular/angular
Language TypeScript
Created Date 2014-09-18
Updated Date 2023-03-21
Star Count 87006
Watcher Count 3028
Fork Count 23170
Issue Count 1418

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date