Skip to content
This repository has been archived by the owner on Oct 2, 2021. It is now read-only.

Achieve if () import 'foo.scss'; compatability with JS parsers? (hyperclick) #30

Open
softwarecreations opened this issue Jun 11, 2020 · 0 comments

Comments

@softwarecreations
Copy link

Meteor has it's magical if (Meteor.isClient) import 'foo.scss'; syntax which violates JavaScript standards.

What is the best way to achieve compatibility with JavaScript parsers, like js-hyperclick, which fails to parse Meteor files as a result of this?

I've reported the issue and my workaround hack here: AsaAyers/js-hyperclick#122

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

No branches or pull requests

1 participant