Skip to content

Commit

Permalink
fix: #386 add a standalone.d.ts file to the vanilla-jsoneditor pa…
Browse files Browse the repository at this point in the history
…ckage
  • Loading branch information
josdejong committed Jan 10, 2024
1 parent 69bd1de commit 4f8fa55
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions rollup.config.vanilla-types.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ export default {
{
file: 'package-vanilla/index.d.ts',
format: 'es'
},
{
file: 'package-vanilla/standalone.d.ts',
format: 'es'
}
],
plugins: [dts()]
Expand Down
3 changes: 2 additions & 1 deletion tools/createVanillaPackageJson.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ const vanillaPackage = {
'.': './index.js', // we don't create an object here, see https://github.com/josdejong/svelte-jsoneditor/issues/334
'./index.js.map': './index.js.map',
'./standalone.js': './standalone.js',
'./standalone.js.map': './standalone.js.map'
'./standalone.js.map': './standalone.js.map',
'./standalone.d.ts': './standalone.d.ts'
}
}

Expand Down

0 comments on commit 4f8fa55

Please sign in to comment.