From 0da6d737744c7defa8127db4affca8eba2745ed5 Mon Sep 17 00:00:00 2001 From: Homa Wong Date: Sat, 30 Dec 2023 13:55:26 -0800 Subject: [PATCH] fix: import error This works for storysource as the underlying `./dist/preset.js` is still in CJS --- code/addons/storysource/preset.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/addons/storysource/preset.js b/code/addons/storysource/preset.js index dd83b37f74cb..b120250981f9 100644 --- a/code/addons/storysource/preset.js +++ b/code/addons/storysource/preset.js @@ -1 +1 @@ -import './dist/preset'; +require('./dist/preset');