We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6449901 commit e80885dCopy full SHA for e80885d
biome.json
@@ -310,7 +310,7 @@
310
}
311
},
312
{
313
- "include": ["**/*.js"],
+ "include": ["**/*.js", "rolldown.config.ts"],
314
"linter": {
315
"rules": {
316
"correctness": {
rolldown.config.ts
@@ -1,3 +1,4 @@
1
+import { isAbsolute } from 'node:path';
2
import wyw from '@wyw-in-js/rollup';
3
import { defineConfig } from 'rolldown';
4
import { dts } from 'rolldown-plugin-dts';
@@ -12,6 +13,7 @@ export default defineConfig({
12
13
sourcemap: true
14
15
platform: 'browser',
16
+ external: (id) => !id.startsWith('.') && !isAbsolute(id),
17
plugins: [
18
dts({
19
tsconfig: './tsconfig.lib.json'
0 commit comments