mirror of
https://github.com/zen-browser/desktop.git
synced 2025-07-07 23:00:01 +02:00
chore: Started adding typescript to zen, b=(no-bug), c=scripts, workspaces
This commit is contained in:
parent
5dfc6a663f
commit
a7846a64d0
20 changed files with 46424 additions and 14 deletions
8
build/ts/transform-ts.js
Normal file
8
build/ts/transform-ts.js
Normal file
|
@ -0,0 +1,8 @@
|
|||
const MJS_FILES = ['src/zen/split-view/ZenViewSplitter.ts'];
|
||||
|
||||
for (const file of MJS_FILES) {
|
||||
require('@babel/core').transformSync('code', {
|
||||
presets: ['@babel/preset-typescript'],
|
||||
filename: file,
|
||||
});
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue