CoreBootstrap is a multi-version of the famous Bootstrap. Needs manual version control and compiler software, ie PrePros. Includes almost all major LESS and Sass versions of Twitter Bootstrap v3+, as well as mixin libraries for LessHat and FontAwesome. Released under MIT License, in good faith. No copyright infringement intended.
MIT License
0
stars
0
forks
source link
Does a double import have an effect on the final compiled file? #7
I think I made a mistake here, by importing the whole framework, after I already imported some smaller files.
On the right, is my build file, that compiles the final CSS. On the left is the original bootstrap import. In red the small files I include first, and in yellow the whole framework I include later in my build.
When I check the final CSS, there doesn't seem to be anything wrong with the file. I don't see double references inside the compiled file (as of yet). Maybe my PrePros compiler removes the double entries?
Is this a mistake ...or not?
PS: Don't mind the version numbers. The files are just examples.
This could be solved if your use the newer @forward and @use methods as implemented in the ReactBootstrap version of AMP (internal project, I only have access to).
I think I made a mistake here, by importing the whole framework, after I already imported some smaller files.
On the right, is my build file, that compiles the final CSS. On the left is the original bootstrap import. In red the small files I include first, and in yellow the whole framework I include later in my build.
When I check the final CSS, there doesn't seem to be anything wrong with the file. I don't see double references inside the compiled file (as of yet). Maybe my PrePros compiler removes the double entries?
Is this a mistake ...or not?
PS: Don't mind the version numbers. The files are just examples.