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:
parent
33736657b9
commit
6cb6d4d202
@ -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',
|
||||
]
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user