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
Hi. I'm pretty new to Azure, so apologies if there is an obvious answer to this question...
If I want to use Webpack (or similar) to create a single file bundle (with tree-shaking and minification, etc), how can I deploy using this plugin.
Also, I have read about run from package - does using something like Webpack still work with this? If so, is there a way to set this option in my code/config or can I only set this manually after deploying?
Thanks in advance.
The text was updated successfully, but these errors were encountered:
The Functions team had this old tool that was replaced with the "Run from Package" stuff you were talking about. Check out this issue for more discussion: Azure/azure-functions-pack#84
In terms of our VS Code extension, you can definitely customize it, but I don't have any examples for webpack. There's a few settings to be aware of, all in the .vscode/settings.json file. The "azureFunctions.deploySubpath" setting controls what we deploy, defaulted to the root of the repo for JavaScript. The "azureFunctions.preDeployTask" controls what task to run before deploying, which you can configure to be whatever you want (for example, maybe a webpack task).
Hi. I'm pretty new to Azure, so apologies if there is an obvious answer to this question...
If I want to use Webpack (or similar) to create a single file bundle (with tree-shaking and minification, etc), how can I deploy using this plugin.
Also, I have read about run from package - does using something like Webpack still work with this? If so, is there a way to set this option in my code/config or can I only set this manually after deploying?
Thanks in advance.
The text was updated successfully, but these errors were encountered: