- Babel 7 compliance. Add optional parameter babelCore (Babel compiler core) Babel compiler core was on previous version hardcoded to "babel-core". The change is required in order to allow developper to specify babel compiler core: "@babel/core", if package is babel7 or not. See doc: https://babeljs.io/docs/en/v7-migration
Fix:
- Fix symlink, walker required / at the end of packagePath for reading symlink.
Features:
- Now supports
webpack.config.ts
and any TypeScript build file by default- Uses the services local
ts-node
to execute
- Uses the services local
- Fixed regression with
node@8
in regards to async/await and Promise.all- Thanks @brendo
- Fixed #36, issue with
.map
files being required for file builds
- Removed
babili
option.- You can add it to your .babelrc yourself
Breaking changes:
-
[email protected]
support dropped -
babel
,uglifyjs
,babel-preset-babili
are now optional peerDependencies
Features:
- Symlinked modules now supported.
- eg.
yarn link myModule
will work as expected when building
- eg.
- Build times improved
- CLI output imrpoved
- Can now specify the
silent
option to hush the CLI
- Can now specify the
- Artifacts are now configured for
archiver
- Supports
sls package
instead ofsls deploy --no-deploy
. This command can't build one function at a time at this time
Under the covers:
- Rewritten in TypeScript for added sanity
- Fixed a race condition
Features:
- Supports latest serverless versions as of now (1.14)
- [BREAKING] Made
excludes
file globs actually overrideincludes
- This means if you have a global exclude like
**/*.js
you can't include .js files - This also means if you include
myFolder
you can exclude a__tests__
folder within it
- This means if you have a global exclude like
- Update deps
- Added option
normalizeBabelExt
(boolean) (default:false
)- When
true
,.jsx
files are renamed to.js
for babel compiled source
- When
- Module bundler concurrency changes
- Linting fixes
- Dependency updates
- @arabold #22 fixes #16 - Invalid artifact paths
- Dependency updates
- Add
graceful-fs
dependency to implement incremental backoff based on EMFILE (see graceful-fs).
- Added
babili
option,ES6+ aware minification of source code- Set this to true to augment your existing babel tranform with minification
- Added version to verbose module logging
- Added coloring and config output through logging
- Changed deploy hooks, single function fixed
- By default
uglify
is offbabeli
is needed in future
- Added
deepExclude
module checks when bundling nested modulenode_modules
directories
- Hooks now require
[email protected]
- Cleanup