Skip to content

Commit e80885d

Browse files
committed
bring back external config
1 parent 6449901 commit e80885d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

biome.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@
310310
}
311311
},
312312
{
313-
"include": ["**/*.js"],
313+
"include": ["**/*.js", "rolldown.config.ts"],
314314
"linter": {
315315
"rules": {
316316
"correctness": {

rolldown.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { isAbsolute } from 'node:path';
12
import wyw from '@wyw-in-js/rollup';
23
import { defineConfig } from 'rolldown';
34
import { dts } from 'rolldown-plugin-dts';
@@ -12,6 +13,7 @@ export default defineConfig({
1213
sourcemap: true
1314
},
1415
platform: 'browser',
16+
external: (id) => !id.startsWith('.') && !isAbsolute(id),
1517
plugins: [
1618
dts({
1719
tsconfig: './tsconfig.lib.json'

0 commit comments

Comments
 (0)