Enables sandbox on about window
This commit is contained in:
parent
58691b2f5e
commit
4591b56f7f
27 changed files with 262 additions and 93 deletions
|
@ -98,3 +98,18 @@ main().catch(error => {
|
|||
console.error(error.stack);
|
||||
process.exit(1);
|
||||
});
|
||||
|
||||
// About bundle
|
||||
esbuild.build({
|
||||
...bundleDefaults,
|
||||
mainFields: ['browser', 'main'],
|
||||
entryPoints: [path.join(ROOT_DIR, 'ts', 'windows', 'about', 'app.tsx')],
|
||||
outfile: path.join(ROOT_DIR, 'about.browser.bundle.js'),
|
||||
});
|
||||
|
||||
esbuild.build({
|
||||
...bundleDefaults,
|
||||
mainFields: ['browser', 'main'],
|
||||
entryPoints: [path.join(ROOT_DIR, 'ts', 'windows', 'about', 'preload.ts')],
|
||||
outfile: path.join(ROOT_DIR, 'about.preload.bundle.js'),
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue