From eba465702a9ac263e01ee0a03035ab4802487048 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Fijo=C5=82?= Date: Sat, 9 Nov 2024 20:21:11 +0100 Subject: [PATCH] feat: Use TS for rollup config --- package.json | 2 +- rollup.config.mjs => rollup.config.ts | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename rollup.config.mjs => rollup.config.ts (100%) diff --git a/package.json b/package.json index 14a9133..e2aef79 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "scripts": { "check-all": "npm run lint && npm run format-check && npm run check-types && npm run test:run", "prepublishOnly": "npm run check-all && npm run build", - "build": "rollup --c ./rollup.config.mjs", + "build": "rollup --c ./rollup.config.ts --configPlugin typescript", "watch": "npm run build -- -w", "lint": "NODE_ENV=production oxlint --import-plugin --security-plugin --promise-plugin --node-plugin ./", "vite:build-and-preview": "vite build && vite preview", diff --git a/rollup.config.mjs b/rollup.config.ts similarity index 100% rename from rollup.config.mjs rename to rollup.config.ts