update npm scripts
This commit is contained in:
parent
f78e392e71
commit
4737c49ed3
4 changed files with 17 additions and 12 deletions
|
|
@ -42,7 +42,9 @@ for (const input of inputs) {
|
|||
const { root, prefix, src, dst } = input;
|
||||
|
||||
if (src && dst) {
|
||||
if (virtMap.has(dst)) {
|
||||
if (!fs.existsSync(src)) {
|
||||
console.log({ src_missing: src });
|
||||
} else if (virtMap.has(dst)) {
|
||||
console.log('pre-existing', dst);
|
||||
} else {
|
||||
entries.push({ file: src, virt: dst });
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ const rec = {
|
|||
logOverride,
|
||||
minify: isProd, // false for dev, true for prod
|
||||
platform: 'browser',
|
||||
sourcemap: !isProd, // true for dev, false for prod
|
||||
sourcemap: false,
|
||||
target: 'es2020',
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue