Fix the dangling promises
This commit is contained in:
parent
27f918f53c
commit
041627f7e4
19 changed files with 112 additions and 67 deletions
|
@ -8,11 +8,10 @@ const definedGlobals = {
|
|||
'process.env.NODE_ENV': JSON.stringify('production'),
|
||||
}
|
||||
|
||||
createBundles()
|
||||
void createBundles()
|
||||
|
||||
async function createBundles() {
|
||||
createMainBundle()
|
||||
createExtensionBundle()
|
||||
await Promise.all([createMainBundle(), createExtensionBundle()])
|
||||
|
||||
async function createMainBundle() {
|
||||
const pathToEntry = path.join(__dirname, '../src/index.ts')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue