mirror of
https://github.com/psychopy/psychojs.git
synced 2025-05-10 10:40:54 +00:00
scripts: tweak js minification options to leave identifiers as is
This commit is contained in:
parent
f0d42a811e
commit
1dc3eabd0d
@ -28,7 +28,8 @@ const [,,, dir = dirMaybe || 'out', version = versionMaybe || pkg.version] = pro
|
|||||||
bundle: true,
|
bundle: true,
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
entryPoints: ['src/index.js'],
|
entryPoints: ['src/index.js'],
|
||||||
minify: true,
|
minifySyntax: true,
|
||||||
|
minifyWhitespace: true,
|
||||||
target: [
|
target: [
|
||||||
// https://github.com/evanw/esbuild/issues/121#issuecomment-646956379
|
// https://github.com/evanw/esbuild/issues/121#issuecomment-646956379
|
||||||
'es2017',
|
'es2017',
|
||||||
|
Loading…
Reference in New Issue
Block a user