Skip to content

Commit

Permalink
fix(app): add source map support to TypeScript apps
Browse files Browse the repository at this point in the history
Add source map support to the TypeScript app entry point template.
This won't retroactively fix existing CDK apps, but it will ensure
that apps generated in the future via `cdk init --app` will have
it enabled.

Fixes #1579
  • Loading branch information
otterley committed Jan 20, 2019
1 parent 4af7c0d commit cb248d6
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env node
import 'source-map-support/register';
import cdk = require('@aws-cdk/cdk');
import { %name.PascalCased%Stack } from '../lib/%name%-stack';

Expand Down

0 comments on commit cb248d6

Please sign in to comment.