mirror of
https://github.com/psychopy/psychojs.git
synced 2025-05-10 10:40:54 +00:00
Merge pull request #365 from thewhodidthis/nf#364--target
scripts: override esbuild default target
This commit is contained in:
commit
a27387e706
@ -28,5 +28,10 @@ const [,,, dir = dirMaybe || 'out', version = versionMaybe || pkg.version] = pro
|
||||
bundle: true,
|
||||
sourcemap: 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