Open maclockard opened 4 years ago
tried switching over to dart-sass
to see if that would fix it since node-sass
has been deprecated. However, blueprint can't compile using newer versions of sass so it didn't work
The problem here is that the path
argument in the svg-icon
function is shadowing the path
required at the top of the file. If you rename either the argument or the import it solves this problem.
On node
v12.18.3
, I get the following error when running the script:A bit confused by this since running node cli, I can use
dirname
as a function. My guess is that this is due to sass using its own node runtime or something?