1
0
mirror of https://github.com/psychopy/psychojs.git synced 2025-05-10 10:40:54 +00:00

scripts: override esbuild default target

This commit is contained in:
Sotiri Bakagiannis 2021-06-03 12:07:34 +01:00
parent 33736657b9
commit 6cb6d4d202

View File

@ -27,5 +27,10 @@ const [,,, dir = dirMaybe || 'out', version = versionMaybe || pkg.version] = pro
},
bundle: true,
entryPoints: ['src/index.js'],
minify: true
minify: true,
target: [
// https://github.com/evanw/esbuild/issues/121#issuecomment-646956379
'es2017',
'node14',
]
});