mirror of
https://github.com/voideditor/void
synced 2026-05-24 09:58:23 +00:00
works!!
This commit is contained in:
parent
a974a5df69
commit
50d21828c2
2 changed files with 8 additions and 3 deletions
|
|
@ -51,8 +51,11 @@
|
|||
"./vs/workbench/contrib/issue/electron-sandbox/issueReporter.js",
|
||||
"./typings",
|
||||
"./vs/**/*.ts",
|
||||
// "./vs/**/*.tsx", // <-- Void added this
|
||||
"vscode-dts/vscode.proposed.*.d.ts",
|
||||
"vscode-dts/vscode.d.ts"
|
||||
|
||||
// Void added these:
|
||||
// "./vs/**/*.tsx",
|
||||
// "./vs/**/*.d.mts",
|
||||
]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,13 +9,15 @@ export default defineConfig({
|
|||
],
|
||||
outDir: './out',
|
||||
format: ['esm'],
|
||||
// dts: true,
|
||||
splitting: false,
|
||||
|
||||
// dts: true,
|
||||
// sourcemap: true,
|
||||
|
||||
clean: true,
|
||||
platform: 'browser',
|
||||
target: 'esnext',
|
||||
// injectStyle: true, // bundle css into the output file
|
||||
injectStyle: true, // bundle css into the output file
|
||||
outExtension: () => ({ js: '.js' }),
|
||||
// default behavior is to take local files and make them internal (bundle them) and take imports like 'react' and leave them external (don't bundle them), we want the opposite in many ways
|
||||
noExternal: [ // noExternal means we should take these things and make them not external (bundle them into the output file) - anything that doesn't start with a "." needs to be force-flagged as not external
|
||||
|
|
|
|||
Loading…
Reference in a new issue