Fix sourcemaps
This commit is contained in:
parent
a24c4eb320
commit
5fd32618be
|
@ -6,5 +6,5 @@
|
||||||
"src/**/*.spec.js",
|
"src/**/*.spec.js",
|
||||||
"../backend-core/dist/**/*"
|
"../backend-core/dist/**/*"
|
||||||
],
|
],
|
||||||
"exec": "yarn build && node dist/index.cjs"
|
"exec": "yarn build && node dist/index.js"
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,17 +21,11 @@
|
||||||
"esbuildOptions": {
|
"esbuildOptions": {
|
||||||
"outExtension": {
|
"outExtension": {
|
||||||
".js": ".js"
|
".js": ".js"
|
||||||
}
|
},
|
||||||
|
"sourcemap": true
|
||||||
},
|
},
|
||||||
|
"minify": true,
|
||||||
"generatePackageJson": true
|
"generatePackageJson": true
|
||||||
},
|
|
||||||
"configurations": {
|
|
||||||
"development": {
|
|
||||||
"minify": false
|
|
||||||
},
|
|
||||||
"production": {
|
|
||||||
"minify": true
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue