From 58f4e234dacaace8be98da3e079cb3de25f85883 Mon Sep 17 00:00:00 2001 From: Maneren <49210777+Maneren@users.noreply.github.com> Date: Thu, 7 Sep 2023 04:29:04 +0200 Subject: [PATCH] fix(website): incorrect import (#863) This was a fun one. 1) It worked fine in dev but failed in release and 2) the fix is importing the original file instead of a minified one. I love JS. Fixes #699, this time hopefully for good --- website/playground/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/playground/index.js b/website/playground/index.js index e0a465562..dc6723a53 100644 --- a/website/playground/index.js +++ b/website/playground/index.js @@ -20,7 +20,7 @@ import { autocompletion } from "@codemirror/autocomplete"; import { indentWithTab, deleteLine } from "@codemirror/commands"; import throttle from "lodash.throttle"; import { buildSchema } from "graphql"; -import { LZMA } from 'lzma/src/lzma_worker-min.js'; +import { LZMA } from 'lzma/src/lzma_worker.js'; import initWasm, { Oxc,