Expands the template using metadata defined in SAM template.
Plugins add their own schemas to config.
Metadata: expand: typescript: import: tsx plugins: - '@starterstack/sam-expand/plugins/esbuild-node' - '@starterstack/sam-expand/plugins/run-script-hooks' config: esbuild: config: ./esbuild-config.yaml script: hooks: pre:build: - command: 'echo' args: - value: 'pre build!' post:build: - command: 'echo' args: - value: 'post build!' Copy
Metadata: expand: typescript: import: tsx plugins: - '@starterstack/sam-expand/plugins/esbuild-node' - '@starterstack/sam-expand/plugins/run-script-hooks' config: esbuild: config: ./esbuild-config.yaml script: hooks: pre:build: - command: 'echo' args: - value: 'pre build!' post:build: - command: 'echo' args: - value: 'post build!'
Expands the template using metadata defined in SAM template.
Plugins add their own schemas to config.
Example