Skip to content

Static extensions can not be loaded #496

Answered by tomdracz
talalong asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks! So this works:
tomdracz/shakapacker-css-test@0020274

But If I try @import 'foundation-icons/foundation-icons.scss' then it goes kaboom. Now it's all lining up.

https://github.com/webpack-contrib/sass-loader?tab=readme-ov-file#problems-with-url

I don't see foundation-icons providing any variable to get the paths modified, so hooking up resolve-url-loader is probably the go-to solution here.

Unless you're happy to just import css rather than scss version of that file?

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@talalong
Comment options

@tomdracz
Comment options

@talalong
Comment options

@tomdracz
Comment options

Answer selected by talalong
@talalong
Comment options

@tomdracz
Comment options

@talalong
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants