From cfb2c5394c261c02856520aa24527ef7e9f23589 Mon Sep 17 00:00:00 2001 From: Gligor Kotushevski Date: Wed, 29 Nov 2023 11:42:29 +1300 Subject: [PATCH] add brief docs about the new config supported --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index b03febdd..3ff7677a 100644 --- a/README.md +++ b/README.md @@ -130,6 +130,8 @@ custom: packagerOptions: # Run a custom script in the package process scripts: # https://github.com/serverless-heaven/serverless-webpack#custom-scripts - echo hello > test + nodeModulesRelativeDir: '../' # Useful for monorepos if you have your node_modules in the root directory + # https://github.com/serverless-heaven/serverless-webpack#node-modules--externals rawFileExtensions: # An array of file extensions to import using the Webpack raw-loader. - csv # Defaults to ['pem', 'txt'] minifyOptions: # Options for ESBuildMinifyPlugin (https://esbuild.github.io/api/#simple-options)