Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CHORE: Don't use ~ to import css files from node_modules #2196

Open
rathboma opened this issue May 10, 2024 · 0 comments
Open

CHORE: Don't use ~ to import css files from node_modules #2196

rathboma opened this issue May 10, 2024 · 0 comments

Comments

@rathboma
Copy link
Collaborator

sass-loader for webpack is the tool that supports ~ imports (eg @import '~bootstrap/dist/styles.css'). This is not supported by other tools

Move to only importing with the module name - @import 'bootstrap/dist/styles.css'; instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant