Revert "Revert "test""

This reverts commit 562d7cd139.
This commit is contained in:
rca 2024-07-16 03:32:37 +09:00
parent 8c516bd5b7
commit 4e95288712
2 changed files with 3 additions and 3 deletions

View File

@ -5,8 +5,8 @@
"main": "index.js",
"scripts": {
"build": "webpack --config webpack.config.ts",
"pjson": "ts-node ./src/tools/gen-package-json.ts > ./lambda/package.json",
"clean": "rm -rf ./lambda/*"
"pjson": "ts-node ./src/tools/gen-package-json.ts > ./lambda/custom/package.json",
"clean": "rm -rf ./lambda/custom/*"
},
"author": "Amazon Alexa",
"license": "Apache License",

View File

@ -21,7 +21,7 @@ const config: webpack.Configuration = {
},
output: {
filename: 'index.js',
path: path.resolve(__dirname, 'lambda'),
path: path.resolve(__dirname, 'lambda/custom'),
library: 'index',
libraryTarget: 'commonjs2',
},