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

Does a double import have an effect on the final compiled file? #7

Open
MakePixelsWork opened this issue Apr 7, 2023 · 1 comment
Labels
help wanted Extra attention is needed question Further information is requested

Comments

@MakePixelsWork
Copy link
Owner

MakePixelsWork commented Apr 7, 2023

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.

double-import-or-not

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.

@MakePixelsWork MakePixelsWork added help wanted Extra attention is needed question Further information is requested labels Apr 7, 2023
@MakePixelsWork
Copy link
Owner Author

MakePixelsWork commented Dec 6, 2023

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).

Closer to a solution, but not just yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant