You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 13, 2021. It is now read-only.
fix(targets): ensure we only transpile what's necessary
before this commit we were still reading from:
- user babelrc
- user TypeScript compilerOptions (while we need different ones)
- browserlists
before this commit we were trying to minize code down to ES5 which would code
weird issues with modules like Knex:
`Class constructor cannot be invoked without 'new'`
Which resulted in heavily transpiled code while Node.js do not need so much
changes.
It's now a lot better. Enjoy.
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -62,7 +62,7 @@ export function handler(event) {
62
62
- TypeScript support
63
63
- Babel support (preset-env)
64
64
- babel & webpack caching
65
-
- node_modules are split into a single `vendor.js` file, minified. Allowing you to debug your own code in AWS console most of the time
65
+
- node_modules are split into a single `vendor.js` file. Allowing you to debug your own code in AWS console most of the time
66
66
67
67
- ⚠️ the only configuration file from your project that we will read is `tsconfig.json`. Other files won't be used. If you need to reuse part of your babel configuration, please open an issue with details on your usecase.
0 commit comments