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
Copy file name to clipboardExpand all lines: README.md
+13Lines changed: 13 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -188,6 +188,19 @@ custom:
188
188
}
189
189
```
190
190
191
+
- Excluding modules from bundling
192
+
193
+
In some cases it might be neccessary to exclude certain modules from bundling with Webpack. This can be achieved by setting the module alias to `false`:
194
+
195
+
``` yml
196
+
custom:
197
+
bundle:
198
+
aliases:
199
+
- "module-name": false
200
+
```
201
+
202
+
The `aliases` option is explained in detail in the [Webpack documentation](https://webpack.js.org/configuration/resolve/#resolvealias).
203
+
191
204
- Usage with WebStorm
192
205
193
206
Here is some info on how to get this plugin to support running tests in WebStorm — https://github.com/AnomalyInnovations/serverless-bundle/issues/5#issuecomment-582237396
0 commit comments