-
-
Notifications
You must be signed in to change notification settings - Fork 280
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
CSS not bundled in Meteor App #967
Comments
To clarify, is the css file successfully loading but empty? First, please check that the bundle created by
|
Yes the css is in the file, unfortunately it was not compiled correctly. There was invalid scss in the website. So it was bundled in the app , but the invalid css just didn't work. But that makes me wonder why it worked locally. Thanks @zodern |
This was the invalid generated css
the origin (not there are no ;):
|
Mup version (
1.4.5
):The css files I have in my project (located in /client/ such as main.scss or elevation.css) are not bundled to my production app. It works on my local device and even with the --production tag, but not when deploying to a droplet with Meteor up.
I find this very strange, and I have no indication of why the scss/css files are not working.
Relevant Meteor packages used:
fourseven:scss
standard-minifier-css@1.4.1
Meteor Release: METEOR@1.7.0.3
Edit:
Also CSS files do not work
Putting the CSS files in /client/… does not work either. It works however to set the files in /public and then to refer to it, but this is an unjust workaround, since it does not work for packages that I installed (Toastr chrismbeckett:toastr)
Mup config
The text was updated successfully, but these errors were encountered: