Releases: AnomalyInnovations/serverless-bundle
Adding support for raw-loader
You can now use the raw-loader to import certain files as strings. Defaults to .pem
and .txt
. And additional ones can be added using the rawFileExtensions
config option.
A huge thanks for @carlcheel for the PR — #106
Update using:
$ npm install --save-dev --save-exact [email protected]
Adding forceExclude option
Adding a new forceExclude
option to fix the issues with v1.7.0. Where the externals
option was being set as forceExclude
as well. Also, added documentation to explain differences between the two — https://github.com/AnomalyInnovations/serverless-bundle#externals-vs-forceexclude
Upgrade using:
$ npm install --save-dev [email protected]
Adding support for externals option
You can now set certain packages to not be bundled if they are provided in the Lambda runtime through Layers.
Thanks to @BhuvaneshwaranR for the PR #84.
Adding support for Webpack alias
Create an alias to 'import' modules easily with a custom path. Thanks to @jliebrand #96.
Adding automatic support for isomorphic loaders
Serverelss Bundle now automatically supports importing css, scss, and image files.
Thanks to @PenguinOfWar for the PR #90.
Adding support for package specific fixes
Adding fixPackages
option to handle specific packages that need to customize the Webpack config to work.
Supporting class properties for Jest tests
Enable setting alternative processors for Jest
Thanks to @ftrossbach for the PR — #75
Setting __dirname correctly
__dirname for nodejs #64
Fixing nested services packaging
Fixes the package.json
not found error for nested services.