-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Sass imports of node_modules do not work when building #197
Comments
@ulivz - would you mind if I took a look at this? |
You just used a wrong import path but didn't set any alias: @import "~bulma"; remove the |
@ulivz unfortunatly, this is not fixing the issue. The prefix ~ should be fine, because it tells Webpack that this is not a relative path (for more information see: https://github.com/webpack-contrib/sass-loader#imports). Can we reopen the issue? |
Hey! This is still not fixed. |
Hmm facing the same issue now. Are there any solutions or any hints why this problem exists? To give an idea about my actual problem, I have something like this in my import './styles.sass'
export default ({
Vue,
options,
router,
siteData
}) => {
} I added the |
i don’t want to use any framework integration or wrapper! |
Bug:
If you import sass files from a node_module it will work on the dev server, but it fails when building the project.
Steps to reproduce:
File to import not found or unreadable: ~bulma.
Expected behavior:
Importing node_modules works when building the project as well.
The text was updated successfully, but these errors were encountered: