mirror of
https://github.com/koush/scrypted.git
synced 2026-02-15 19:22:37 +00:00
sdk: always include sourcemap
This commit is contained in:
@@ -100,8 +100,7 @@ async function pack() {
|
||||
// todo: read write file system? seems like a potential sandbox and backup nightmare to do a real fs. scripts should
|
||||
// use localStorage, etc?
|
||||
zip.addLocalFile(path.join(out, runtime.output));
|
||||
if (process.NODE_ENV === 'production')
|
||||
zip.addLocalFile(path.join(out, runtime.output + '.map'));
|
||||
zip.addLocalFile(path.join(out, runtime.output + '.map'));
|
||||
console.log(runtime.output);
|
||||
resolve();
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user