Devon Govett

Results 894 comments of Devon Govett

Hmm, I think this isn't really a valid configuration. You've set the target to an old version of chrome that doesn't support `@scope` or nesting. And since scope is only...

But they are not your variables, they are lightningcss variables. I think it's important that two libraries/files compiled independently by lightningcss can interact as expected. For example if some file...

Why would the dep for crossbeam-channel and rayon be different here? Not sure I understand the issue here.

crossbeam-channel is also optional though

Mainly that I don't understand the problem. AFAICT it is correct: https://doc.rust-lang.org/cargo/reference/features.html#optional-dependencies Why do you think this is wrong? I don't know what `cargo-auditable` is but perhaps that has a...

Lightning CSS does not rewrite import paths. But perhaps you could consider using `--bundle` to combine all of your source files into a single output file?

The problem is that your package manager (eg npm) is not installing the optional dependencies in the package. There is a dependency per os/cpu architecture that should be installed. The...

What platform are you running on? That means operating system/cpu.

Then you're definitely on a supported platform. Your package manager isn't working properly. It should be installing lightningcss-darwin-arm64.

hmm now looking at the code, it seems that is also behind an environment variable check. Is that somehow set on your system? https://github.com/parcel-bundler/lightningcss/blob/baa1a2b7fa52eeb3827f8edcc2e14de33cd69ad0/node/index.js#L15C5-L15C37