diff options
author | Vitaly Takmazov | 2022-11-01 17:46:47 +0000 |
---|---|---|
committer | Vitaly Takmazov | 2023-01-13 10:37:58 +0300 |
commit | ada83d8beae1c5298cbc5f01801d3f2780f09456 (patch) | |
tree | be27eed3b1827427333e892e35ae6097c15c70cc /vnext | |
parent | 4761552440b0a2cfd3dea887201f61b5ed757bb7 (diff) |
server: build sourcemap
Diffstat (limited to 'vnext')
-rw-r--r-- | vnext/package.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vnext/package.json b/vnext/package.json index 7d3c0b6c..f6ff2296 100644 --- a/vnext/package.json +++ b/vnext/package.json @@ -4,7 +4,7 @@ "description": "", "scripts": { "test": "jest", - "dist": "webpack --mode=production --progress && esbuild --bundle --platform=node --target=node18 --loader:.css=file --loader:.js=jsx --loader:.png=file --loader:.svg=file --outfile=dist/server.js server/index.js", + "dist": "webpack --mode=production --progress && esbuild --bundle --sourcemap --keep-names --platform=node --target=node18 --loader:.css=file --loader:.js=jsx --loader:.png=file --loader:.svg=file --outfile=dist/server.js server/index.js", "start": "webpack serve" }, "keywords": [], |