Webpack Bundle API¶
flask_unchained.bundles.webpack
The Webpack Bundle. |
flask_unchained.bundles.webpack.config
Default configuration options for the Webpack Bundle. |
|
Default production configuration options for the Webpack Bundle. |
|
Inherit production settings. |
flask_unchained.bundles.webpack.extensions
The Webpack extension. |
WebpackBundle¶
-
class
flask_unchained.bundles.webpack.
WebpackBundle
[source]¶ The Webpack Bundle.
-
name
: str = 'webpack_bundle'¶ The name of the Webpack Bundle.
-
Config¶
-
class
flask_unchained.bundles.webpack.config.
Config
[source]¶ Default configuration options for the Webpack Bundle.
-
WEBPACK_MANIFEST_PATH
= None¶ The full path to the
manifest.json
file generated by Webpack Manifest Plugin.
-
-
class
flask_unchained.bundles.webpack.config.
ProdConfig
[source]¶ Default production configuration options for the Webpack Bundle.
-
WEBPACK_ASSETS_HOST
= ''¶ The host where Webpack assets are served from. Defaults to the same server as the backend.
-