Skip to content

Commit

Permalink
Fix playground
Browse files Browse the repository at this point in the history
fixes #517
  • Loading branch information
devongovett committed Sep 16, 2023
1 parent ff74ae5 commit e92a40f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/playground/playground.js
Expand Up @@ -34,7 +34,7 @@ async function loadWasm() {
if (version.value === 'local') {
wasm = localWasm;
} else {
wasm = await new Function('version', 'return import(`https://cdn.jsdelivr.net/npm/lightningcss-wasm@${version}/lightningcss_node.js`)')(version.value);
wasm = await new Function('version', 'return import(`https://esm.sh/lightningcss-wasm@${version}?bundle`)')(version.value);
}
await wasm.default();
}
Expand Down

0 comments on commit e92a40f

Please sign in to comment.