Open karneaud opened 5 days ago
@karneaud
Added new parameters, I hope they will work for you.
Also it might be useful if you need to pass custom environment variables to the pug template.
bundler.build({
sassConfigOverrides: {
filePaths: ['../node_modules/'],
},
pugConfigOverrides: {},
jsConfigOverrides: {},
...other options
});
@jsqrt Good looking out! the pug configs would be useful
I'm not sure if its your package or my project dependency package but when trying to import node_modules/sass-library I get the error
Usually
@import ~bootstrap/css/file
or@use bootstrap/css/file
would work but I had to reference it@forward .../../node_modules/....
which lead to more internal referencing issues.I had to
and also
and it worked!
Maybe it could recognize .sassrc files in the project thus we can loadPaths from there ??