Skip to content

Commit

Permalink
feature: use typescript for source code (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
levivilet authored Aug 27, 2024
1 parent 9940f66 commit d87415b
Show file tree
Hide file tree
Showing 6 changed files with 317 additions and 55 deletions.
261 changes: 261 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"execa": "^9.3.1",
"jest": "^29.7.0",
"prettier": "^3.3.3",
"rollup": "^4.21.1",
"ts-jest": "^29.2.5",
"typescript": "^5.5.4"
},
Expand Down
5 changes: 5 additions & 0 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ import pluginTypeScript from '@babel/preset-typescript'
const options = {
input: 'src/previewProcessMain.ts',
preserveEntrySignatures: 'strict',
external: [
'@lvce-editor/ipc',
'@lvce-editor/json-rpc',
'@lvce-editor/verror',
],
treeshake: {
propertyReadSideEffects: false,
},
Expand Down
Loading

0 comments on commit d87415b

Please sign in to comment.