Fixed webpack distribution
This commit is contained in:
parent
5772b4c43c
commit
348b3937bd
@ -46,6 +46,8 @@
|
|||||||
"typeorm": "^0.3.7"
|
"typeorm": "^0.3.7"
|
||||||
},
|
},
|
||||||
"runtimeDependencies": [
|
"runtimeDependencies": [
|
||||||
|
"@fastify/multipart",
|
||||||
|
"@fastify/static",
|
||||||
"@nestjs/common",
|
"@nestjs/common",
|
||||||
"@nestjs/core",
|
"@nestjs/core",
|
||||||
"@nestjs/platform-fastify",
|
"@nestjs/platform-fastify",
|
||||||
|
@ -17,7 +17,7 @@ function transform_package(input: Buffer): string {
|
|||||||
delete pkg['runtimeDependencies'];
|
delete pkg['runtimeDependencies'];
|
||||||
delete pkg['devDependencies'];
|
delete pkg['devDependencies'];
|
||||||
delete pkg['jest'];
|
delete pkg['jest'];
|
||||||
return JSON.stringify(pkg);
|
return JSON.stringify(pkg, null, '\t');
|
||||||
}
|
}
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
@ -46,7 +46,6 @@ export default {
|
|||||||
},
|
},
|
||||||
externalsPresets: { node: true },
|
externalsPresets: { node: true },
|
||||||
mode: 'production',
|
mode: 'production',
|
||||||
devtool: 'inline-source-map',
|
|
||||||
resolve: {
|
resolve: {
|
||||||
extensions: ['.ts', '.js']
|
extensions: ['.ts', '.js']
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user