Skip to content

Commit ae757b4

Browse files
committed
fix: in nova, class private fields break Promises
Refs: trynova/nova#942
1 parent f5ce630 commit ae757b4

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

bundler/bundle.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -542,6 +542,9 @@ export const build = async (...files) => {
542542
} else if (options.platform === 'jerryscript') {
543543
config.supported['class-private-field'] = false
544544
// config.minify = true // breaks on SyntaxError, FIXME
545+
} else if (options.platform === 'nova') {
546+
// See https://github.com/trynova/nova/issues/942
547+
config.supported['class-private-field'] = false
545548
}
546549

547550
let shouldInstallMocks = false

0 commit comments

Comments
 (0)