This commit is contained in:
rca 2024-07-16 04:52:22 +09:00
parent 2d8aa7d315
commit 38efeb6f10
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/custom/package.json", "pjson": "ts-node ./src/tools/gen-package-json.ts > ./lambda/package.json",
"clean": "rm -rf ./lambda/custom/*" "clean": "rm -rf ./lambda/*"
}, },
"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/custom'), path: path.resolve(__dirname, 'lambda'),
library: 'index', library: 'index',
libraryTarget: 'commonjs2', libraryTarget: 'commonjs2',
}, },