enable webpackIncludeModules for webpack-no-watch#293
enable webpackIncludeModules for webpack-no-watch#293seriouscoderone wants to merge 1 commit intoserverless-heaven:masterfrom
Conversation
I got this for webpack-no-watch, not sure how to do this for the watch mode.
|
Hi @josephleehunsaker, first thanks for you engagement. Can you please tell, what exactly the problem is, that this PR should solve? As background: The wpwatch function is only used by serverless-offline which uses the locally available node_modules and does not need an extra packaging step. So the PR will add quite some additional time to the startup (and recompiles if it is added to watch too), eventually rendering local debugging very hard. If you want to test the final package (as it would be deployed to AWS), you should use |
|
Thx @HyperBrain for the background. So I just use |
|
It's an either or. If you mant to test the final deployment, use serverless run, if you want to quickly test during development, use serverless offline. The two methods are unrelated and can be used independently. |
I got this for webpack-no-watch, not sure how to do this for the watch mode.