forked from samgiz/vscode-kanbn
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Florian Bachmann
committed
Oct 16, 2024
1 parent
d4627a1
commit 51e037d
Showing
13 changed files
with
857 additions
and
17,634 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ | |
build/**/*.js.map | ||
ext-src/** | ||
public/** | ||
node_modules | ||
scripts/** | ||
src/** | ||
.editorconfig | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
const esbuild = require('esbuild') | ||
const esbuildPluginTsc = require('esbuild-plugin-tsc') | ||
|
||
/** import("esbuild").BuildOptions */ | ||
const settings = { | ||
entryPoints: ['ext-src/extension.ts'], | ||
outfile: 'build/ext-src/extension.js', | ||
platform: 'node', | ||
bundle: true, | ||
external: [ | ||
'vscode' | ||
], | ||
plugins: [ | ||
esbuildPluginTsc({ | ||
force: true, | ||
tsconfigPath: 'tsconfig.extension.json' | ||
}) | ||
] | ||
} | ||
|
||
esbuild.build(settings) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
const esbuild = require('esbuild') | ||
const esbuildPluginTsc = require('esbuild-plugin-tsc') | ||
|
||
/** import("esbuild").BuildOptions */ | ||
const settings = { | ||
entryPoints: ['src/index.tsx'], | ||
outdir: 'build/static/', | ||
platform: 'browser', | ||
bundle: true, | ||
loader: { | ||
'.html': 'file', | ||
'.ttf': 'file', | ||
'.ttf?*': 'file', | ||
'.woff': 'file', | ||
'.woff2': 'file' | ||
}, | ||
plugins: [ | ||
esbuildPluginTsc({ | ||
force: true, | ||
tsconfigPath: 'tsconfig.json' | ||
}) | ||
] | ||
} | ||
|
||
esbuild.build(settings) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.