Skip to content

Commit 1ed3da6

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

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
@@ -544,6 +544,9 @@ export const build = async (...files) => {
544544
} else if (options.platform === 'jerryscript') {
545545
config.supported['class-private-field'] = false
546546
// config.minify = true // breaks on SyntaxError, FIXME
547+
} else if (options.platform === 'nova') {
548+
// See https://github.com/trynova/nova/issues/942
549+
config.supported['class-private-field'] = false
547550
}
548551

549552
let shouldInstallMocks = false

0 commit comments

Comments
 (0)