Skip to content

Commit 91fcfad

Browse files
committed
Replace source-map unpkg url in worker README
1 parent 9b5b0fc commit 91fcfad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

worker/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ type ErrorLikeObject = {
2929
## Sample usage
3030

3131
```js
32-
const worker = new Worker("https://unpkg.com/css-to-js-sourcemap-worker@1.0.0/worker.js");
32+
const worker = new Worker("https://unpkg.com/css-to-js-sourcemap-worker/worker.js");
3333

3434
worker.onmessage = msg => {
3535
if (msg.id === "render_css" && msg.css) {
@@ -43,7 +43,7 @@ const {stack, stacktrace, message} = new Error("create stack trace");
4343

4444
worker.postMessage({
4545
id: "init_wasm",
46-
url: "https://unpkg.com/source-map@0.7.3/lib/mappings.wasm",
46+
url: "https://unpkg.com/css-to-js-sourcemap-worker/mappings.wasm",
4747
});
4848
worker.postMessage({
4949
id: "add_mapped_class",

0 commit comments

Comments
 (0)