mirror of
https://github.com/psychopy/psychojs.git
synced 2025-05-10 18:50:54 +00:00
scripts: add sourcemap option for esbuild
This commit is contained in:
parent
33736657b9
commit
cfbfc16f7e
@ -26,6 +26,7 @@ const [,,, dir = dirMaybe || 'out', version = versionMaybe || pkg.version] = pro
|
|||||||
js: `/*! For license information please see psychojs-${version}.js.LEGAL.txt */`,
|
js: `/*! For license information please see psychojs-${version}.js.LEGAL.txt */`,
|
||||||
},
|
},
|
||||||
bundle: true,
|
bundle: true,
|
||||||
|
sourcemap: true,
|
||||||
entryPoints: ['src/index.js'],
|
entryPoints: ['src/index.js'],
|
||||||
minify: true
|
minify: true
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user