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", "main": "index.js",
"scripts": { "scripts": {
"build": "webpack --config webpack.config.ts", "build": "webpack --config webpack.config.ts",
"pjson": "ts-node ./src/tools/gen-package-json.ts > ./lambda/package.json", "pjson": "ts-node ./src/tools/gen-package-json.ts > ./lambda/custom/package.json",
"clean": "rm -rf ./lambda/*" "clean": "rm -rf ./lambda/custom/*"
}, },
"author": "Amazon Alexa", "author": "Amazon Alexa",
"license": "Apache License", "license": "Apache License",

View File

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