From 686c6f90d7a3c2bc0f8b89619c5d91ee8fb320e4 Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Sun, 4 Jan 2026 22:15:20 -0800 Subject: Add tabloid language support --- rollup.config.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 rollup.config.js (limited to 'rollup.config.js') diff --git a/rollup.config.js b/rollup.config.js new file mode 100644 index 0000000..8bdc023 --- /dev/null +++ b/rollup.config.js @@ -0,0 +1,12 @@ +import typescript from "@rollup/plugin-typescript" +import {lezer} from "@lezer/generator/rollup" + +export default { + input: "src/index.ts", + external: id => id != "tslib" && !/^(\.?\/|\w:)/.test(id), + output: [ + {file: "dist/index.cjs", format: "cjs"}, + {dir: "./dist", format: "es"} + ], + plugins: [lezer(), typescript()] +} -- cgit v1.2.3-70-g09d2