#Resolve sass files from node_modules
4 messages · Page 1 of 1 (latest)
Using @import "/node_modules/@picocss/pico/scss/variables" does seem to work.
But I would assume I can somehow make that mapping.
You can define path aliases in your tsconfig.json:
From allowJs to useDefineForClassFields the TSConfig reference includes information about all of the active compiler flags setting up a TypeScript project.
I'm importing my sass style sheet inside an actual sass file, so I assumed that would only work when you do an import in js?