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

Include css file without .css extension #2824

Closed
josh18 opened this issue Sep 3, 2017 · 0 comments · Fixed by karronoli/redpen#10 · May be fixed by Omrisnyk/npm-lockfiles#132
Closed

Include css file without .css extension #2824

josh18 opened this issue Sep 3, 2017 · 0 comments · Fixed by karronoli/redpen#10 · May be fixed by Omrisnyk/npm-lockfiles#132

Comments

@josh18
Copy link
Contributor

josh18 commented Sep 3, 2017

For example if I have:

files: [
    'https://fonts.googleapis.com/icon?family=Material+Icons'
]

I get a Uncaught SyntaxError: Invalid or unexpected token error due to it being loaded as a script. It looks like it just matches against the file extension so I'm guessing there is currently no way around this?

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