May I ask is there any way to reference ~ to node_modules?
I have tried "@rollup/plugin-alias"
alias({
entries: {
"~": path.join(__dirname, "node_modules/"),
},
})
with includePaths: ["node_modules"], but it seems not working.
The error is this.
Error:
Can't find stylesheet to import.
╷
2 │ @import "~bootstrap/scss/functions";
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
stdin 2:9 root stylesheet
Thanks for the help.
May I ask is there any way to reference
~tonode_modules?I have tried "@rollup/plugin-alias"
with
includePaths: ["node_modules"], but it seems not working.The error is this.
Thanks for the help.