Skip to content

Commit

Permalink
chore: don't output sourcemaps
Browse files Browse the repository at this point in the history
  • Loading branch information
mrgrain committed Jan 26, 2023
1 parent 86937e8 commit 0a24bd2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/aws-cdk-lib/scripts/minify-sources.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
scriptdir=$(cd $(dirname $0) && pwd)
cd ${scriptdir}/..

find . -name '*.js' ! -name 'exports.js' ! -name '.eslintrc.js' ! -path '*node_modules*' | xargs npx esbuild \
--sourcemap \
find . -name '*.js' ! -name '.eslintrc.js' ! -path '*node_modules*' | xargs npx esbuild \
--platform=node \
--format=cjs \
--minify-whitespace \
Expand Down

0 comments on commit 0a24bd2

Please sign in to comment.