This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
en: { | |
linkGroups: [ | |
{ | |
id: 229, | |
name: 'Electronics', | |
links: [ | |
{ | |
name: 'Desktop Computers', | |
slug: 'desktop-computers', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
service: sls-server | |
frameworkVersion: '2' | |
plugins: | |
- serverless-webpack # serverless webpack plugin | |
package: | |
individually: true # to package functions individually. You can toggle this and check the difference webpack generates | |
custom: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"compilerOptions": { | |
"target": "esnext", | |
"module": "commonjs", | |
"lib": ["esnext"], | |
"sourceMap": true, | |
"outDir": "lib", | |
"moduleResolution": "node", | |
"removeComments": true, | |
"noImplicitAny": true, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const path = require('path'); | |
const slsw = require('serverless-webpack'); | |
module.exports = { | |
mode: slsw.lib.webpack.isLocal ? 'development' : 'production', | |
entry: slsw.lib.entries, | |
stats: 'summary', | |
resolve: { | |
extensions: ['.ts'], | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { | |
DynamoDBClient, | |
PutItemCommand, | |
GetItemCommand, | |
UpdateItemCommand, | |
DeleteItemCommand, | |
} from '@aws-sdk/client-dynamodb'; | |
import { | |
marshall, | |
unmarshall |
NewerOlder