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

Fix unpkg url in docs #584

Merged
merged 1 commit into from
Sep 16, 2023
Merged

Fix unpkg url in docs #584

merged 1 commit into from
Sep 16, 2023

Conversation

mischnic
Copy link
Member

See #565

https://unpkg.com/lightningcss-wasm?module imports https://unpkg.com/napi-wasm@^1.0.1?module which responds with

Cannot generate module for napi-wasm@1.1.0/index.mjs

SyntaxError: unknown: Support for the experimental syntax 'classProperties' isn't currently enabled (32:10):

  30 | 
  31 | export class Environment {
> 32 |   scopes = [];
     |          ^
  33 |   referenceId = 1;
  34 |   references = new Map();
  35 |   deferred = [null];

Add @babel/plugin-proposal-class-properties (https://git.io/vb4SL) to the 'plugins' section of your Babel config to enable transformation.

undefined

https://esm.run (= jsdelivr) works fine

@devongovett devongovett merged commit ff74ae5 into master Sep 16, 2023
3 checks passed
@devongovett devongovett deleted the mischnic-patch-1 branch September 16, 2023 21:38
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

Successfully merging this pull request may close these issues.

None yet

2 participants