Skip to content

Commit

Permalink
fix: enable source map (#698)
Browse files Browse the repository at this point in the history
  • Loading branch information
trim21 authored Dec 9, 2023
1 parent f42009f commit be22e24
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-rolling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ jobs:
- name: Build executables
run: |
pkg . --out-path dist-pkg
pkg . --out-path dist-pkg --no-bytecode --public --options=enable-source-maps
- name: Rename linuxstatic to linux
run: |
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
},
"scripts": {
"build": "node scripts/build.js",
"build-pkg": "rm -rf dist && npm run build && pkg . --out-path dist-pkg",
"build-pkg": "rm -rf dist && npm run build && pkg . --out-path dist-pkg --no-bytecode --public --options=enable-source-maps",
"format-source": "prettier -w .",
"check-source-formatting": "prettier -c .",
"check-types": "tsc",
Expand Down
1 change: 1 addition & 0 deletions server/config/webpack.config.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ module.exports = {
filename: 'index.js',
libraryTarget: 'commonjs2',
},
devtool: 'inline-source-map',
optimization: {
minimize: true,
minimizer: [
Expand Down

0 comments on commit be22e24

Please sign in to comment.