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

SourceMappingURL Reference is missing the 'tmp' part or has too many .. references? #13

Closed
SimonKaluza opened this issue Oct 21, 2014 · 1 comment

Comments

@SimonKaluza
Copy link

After following the helpful advice from @aexmachina in the broccoli-sass issue joliss/broccoli-sass#18 which details creating/mapping local filesystem directories and files in the Chrome workspace, I feel like I'm really close to the solution but I'm having one remaining issue.

The SourceMappingURL generated at the bottom of my app's output css file seems to need an extra 'tmp' in the URL reference. After creating a network mapping from the network file assets/my-app.css to temporary filesystem file (in the workspace) at my-app/tmp/tree_merger-tmp_dest_dir-eJSNaSPW.tmp/app/styles/my-app.css, the GET request for the mapping file that returns a 404 is to the URL http://localhost:4200/tree_merger-tmp_dest_dir-eJSNaSPW.tmp/app/styles/my-app.css.map.

Maybe the SourceMappingURL at the bottom should be something like /*# sourceMappingURL=../../tmp/tree_merger-tmp_dest_dir-eJSNaSPW.tmp/app/styles/my-app.css.map */ instead of /*# sourceMappingURL=../../tree_merger-tmp_dest_dir-eJSNaSPW.tmp/app/styles/my-app.css.map */ ? Or is there another way I could map my directory structure/change input/output file paths to better fit this?

@SimonKaluza SimonKaluza changed the title SourceMappingURL Reference is missing the SourceMappingURL Reference is missing the 'tmp' part or has too many .. references? Oct 21, 2014
@simonexmachina
Copy link
Collaborator

This has been caused by an issue from one of the modules we use. The problem should be fixed if you upgrade to the latest version 3.0.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants