Skip to content

Commit 2f21b27

Browse files
authored
chore: update unplugin-isolated-decl (#326)
1 parent 8cf102b commit 2f21b27

File tree

4 files changed

+90
-69
lines changed

4 files changed

+90
-69
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"svelte": "^5.0.0",
4242
"typescript": "^5.6.2",
4343
"typescript-eslint": "^8.5.0",
44-
"unplugin-isolated-decl": "^0.6.5",
44+
"unplugin-isolated-decl": "^0.8.3",
4545
"vitest": "^2.1.4"
4646
},
4747
"packageManager": "[email protected]"

packages/core/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,19 @@
2525
"default": "./dist/index.js"
2626
},
2727
"./css": {
28-
"types": "./dist/tooling/css/index.d.ts",
28+
"types": "./dist/css.d.ts",
2929
"default": "./dist/css.js"
3030
},
3131
"./html": {
32-
"types": "./dist/tooling/html/index.d.ts",
32+
"types": "./dist/html.d.ts",
3333
"default": "./dist/html.js"
3434
},
3535
"./js": {
36-
"types": "./dist/tooling/js/index.d.ts",
36+
"types": "./dist/js.d.ts",
3737
"default": "./dist/js.js"
3838
},
3939
"./parsers": {
40-
"types": "./dist/tooling/parsers.d.ts",
40+
"types": "./dist/parsers.d.ts",
4141
"default": "./dist/parsers.js"
4242
}
4343
},

pnpm-lock.yaml

Lines changed: 81 additions & 63 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rollup.config.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,10 @@ function getConfig(project) {
113113
plugins: [
114114
preserveShebangs(),
115115
'exports' in pkg &&
116-
dts({ include: project === 'cli' ? [`${projectRoot}/lib/*`] : undefined }),
116+
dts({
117+
include: project === 'cli' ? [`${projectRoot}/lib/*`] : undefined,
118+
inputBase: project === 'cli' ? path.resolve(projectRoot, 'lib') : undefined
119+
}),
117120
esbuild(),
118121
nodeResolve({ preferBuiltins: true, rootDir: projectRoot }),
119122
commonjs(),

0 commit comments

Comments
 (0)