diff --git a/biome.json b/biome.json index b80a99ac8f..3bd46f0ffb 100644 --- a/biome.json +++ b/biome.json @@ -310,7 +310,7 @@ } }, { - "include": ["**/*.js"], + "include": ["**/*.js", "rolldown.config.ts"], "linter": { "rules": { "correctness": { diff --git a/package.json b/package.json index f0cb5ae815..673950d77c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-data-grid", - "version": "7.0.0-beta.53", + "version": "7.0.0-beta.54", "license": "MIT", "description": "Feature-rich and customizable data grid React component", "keywords": [ diff --git a/rolldown.config.ts b/rolldown.config.ts index 23040c1979..dca034dcff 100644 --- a/rolldown.config.ts +++ b/rolldown.config.ts @@ -1,3 +1,4 @@ +import { isAbsolute } from 'node:path'; import wyw from '@wyw-in-js/rollup'; import { defineConfig } from 'rolldown'; import { dts } from 'rolldown-plugin-dts'; @@ -12,6 +13,7 @@ export default defineConfig({ sourcemap: true }, platform: 'browser', + external: (id) => !id.startsWith('.') && !isAbsolute(id), plugins: [ dts({ tsconfig: './tsconfig.lib.json'