Skip to content

Commit

Permalink
Replace deprecated ncc-zip cli args with config file
Browse files Browse the repository at this point in the history
  • Loading branch information
rhystmills committed Jul 3, 2024
1 parent a36fd7f commit b1c2865
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions pluto-message-ingestion/ncc.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"externals": {
"aws-sdk": "aws-sdk",
"/aws-sdk(/.*)/": "aws-sdk$1"
},
"minify": true
}
2 changes: 1 addition & 1 deletion pluto-message-ingestion/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"scripts": {
"lint": "eslint *.js",
"lint-fix": "yarn lint --fix",
"build": "yarn lint && mkdir -p target && ncc-zip build -m -e aws-sdk -o ./target/pluto-message-ingestion.zip"
"build": "yarn lint && mkdir -p target && ncc-zip build -o ./target/pluto-message-ingestion.zip"
},
"dependencies": {
"crypto": "0.0.3",
Expand Down

0 comments on commit b1c2865

Please sign in to comment.