diff --git a/pluto-message-ingestion/ncc.config.json b/pluto-message-ingestion/ncc.config.json new file mode 100644 index 000000000..8f497cea0 --- /dev/null +++ b/pluto-message-ingestion/ncc.config.json @@ -0,0 +1,7 @@ +{ + "externals": { + "aws-sdk": "aws-sdk", + "/aws-sdk(/.*)/": "aws-sdk$1" + }, + "minify": true +} diff --git a/pluto-message-ingestion/package.json b/pluto-message-ingestion/package.json index dbcccc081..f927d10fb 100644 --- a/pluto-message-ingestion/package.json +++ b/pluto-message-ingestion/package.json @@ -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",