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
Baseframe makes extensive use of WebAssets, forcing it on all apps. WebAssets is currently configured to build assets on demand at run-time. This interferes with read-only filesystems such as in Docker.
We need WebAssets to do asset building as a distinct step as part of the deployment, or replace it with something else that can do that, like Webpack.
The text was updated successfully, but these errors were encountered:
From my reading, here are some features webpack offers over webassets:
Hot Module Replacement
Code splitting
Source maps for JS
There's a plugin that helps retrieve the latest built assets with a jinja helper - https://github.com/nickjj/flask-webpack. I'm currently learning how to configure this and webpack with a flask app.
Baseframe makes extensive use of WebAssets, forcing it on all apps. WebAssets is currently configured to build assets on demand at run-time. This interferes with read-only filesystems such as in Docker.
We need WebAssets to do asset building as a distinct step as part of the deployment, or replace it with something else that can do that, like Webpack.
The text was updated successfully, but these errors were encountered: