From 04f225283d8891585a8fe5c687fed17439bcedd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Exbrayat?= Date: Fri, 14 Oct 2022 10:56:33 +0200 Subject: [PATCH] chore: use a mjs rollup config --- package.json | 4 ++-- rollup.config.ts => rollup.config.mjs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename rollup.config.ts => rollup.config.mjs (97%) diff --git a/package.json b/package.json index ca73019c7..00b7cd4fd 100644 --- a/package.json +++ b/package.json @@ -75,8 +75,8 @@ "test:watch": "vitest --watch", "test:build": "vitest --mode test-build", "tsd": "tsc -p test-dts/tsconfig.tsd.json", - "build": "rollup -c rollup.config.ts", - "prepare": "rollup -c rollup.config.ts", + "build": "rollup -c rollup.config.mjs", + "prepare": "rollup -c rollup.config.mjs", "lint": "eslint --ext .ts src/ tests/", "lint:fix": "pnpm run lint --fix", "docs:dev": "vitepress dev docs", diff --git a/rollup.config.ts b/rollup.config.mjs similarity index 97% rename from rollup.config.ts rename to rollup.config.mjs index a161cdc2a..0e8f4e3d6 100644 --- a/rollup.config.ts +++ b/rollup.config.mjs @@ -4,7 +4,7 @@ import replace from '@rollup/plugin-replace' import commonjs from '@rollup/plugin-commonjs' import json from '@rollup/plugin-json' -import pkg from './package.json' +import pkg from './package.json' assert { type: 'json' } const banner = ` /**