From 8471aa4290d645f785c8dbef47bcb3388f3c0f25 Mon Sep 17 00:00:00 2001 From: Andrea Amantini Date: Wed, 22 Nov 2023 14:58:20 +0100 Subject: [PATCH] Use dashes in path for eval region export --- package.json | 2 +- public/squint/js/demo.mjs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 3e5a2f1..c0a6de3 100644 --- a/package.json +++ b/package.json @@ -59,6 +59,6 @@ }, "exports": { ".": "./dist/nextjournal/clojure_mode.mjs", - "./extensions/eval_region": "./dist/nextjournal/clojure_mode/extensions/eval_region.mjs" + "./extensions/eval-region": "./dist/nextjournal/clojure_mode/extensions/eval_region.mjs" } } diff --git a/public/squint/js/demo.mjs b/public/squint/js/demo.mjs index 6ff19ac..919e12b 100644 --- a/public/squint/js/demo.mjs +++ b/public/squint/js/demo.mjs @@ -1,5 +1,5 @@ import { default_extensions, complete_keymap } from '@nextjournal/clojure-mode'; -import { extension as eval_ext, cursor_node_string, top_level_string } from '@nextjournal/clojure-mode/extensions/eval_region'; +import { extension as eval_ext, cursor_node_string, top_level_string } from '@nextjournal/clojure-mode/extensions/eval-region'; import { EditorView, drawSelection, keymap } from '@codemirror/view'; import { EditorState } from '@codemirror/state'; import { syntaxHighlighting, defaultHighlightStyle, foldGutter } from '@codemirror/language';