Comments (3)
I think you are experiencing the same problem described in #7
The issue is that the = include
directive will look in the assets/javascripts/
folder first before looking into assets/stylesheets
and since both contain a file called application
it will try to include the application.js
The solution should be to change the include to //= include 'application.css'
Please let me know if this helped you in resolving your issue.
from css_splitter.
@jhilden , you are right. thank you ^_^
from css_splitter.
I added a note to the README. I hope this will help future users: https://github.com/zweilove/css_splitter/blob/master/README.md#gotchas
from css_splitter.
Related Issues (20)
- Gem just seems to duplicate original CSS HOT 23
- Update gems (Middleman compatibility) HOT 15
- split2 file is always empty HOT 9
- Rails 4 work? HOT 29
- Issue with Key frames HOT 13
- IE9 not displaying full stylesheet HOT 2
- Rubygems.org with 0.4.0 HOT 4
- fail to precompile HOT 8
- Request to release 0.4.1 HOT 2
- undefined method `bytesize' for nil:NilClass HOT 8
- Sass::SyntaxError: @charset may only be used at the root of a document. HOT 4
- Sass::SyntaxError: Invalid CSS after " }": expected selector or at-rule, was "}" HOT 15
- Single rule with > 4095 selectors not split HOT 3
- Different splitter output in development and prod HOT 9
- NoMethodError: undefined method `register_bundle_processor' for nil:NilClass HOT 8
- circular dependency thrown in version 0.4.4 during asset precompile from minimal Rails app HOT 5
- Rails 3 sprockets engine issue HOT 3
- Sprockets v3.7.0 deprecations HOT 7
- Question about test case HOT 5
- sass问题
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from css_splitter.