Builds web applications using webpack.
Options can be configured in
project.json when defining the executor, or when invoking it. Read more about how to configure targets and executors here: https://nx.dev/configuration/projectjson#targets.
List of static application assets.
Base url for the application being built.
Budget thresholds to ensure parts of your application stay within boundaries which you set.
Read buildable libraries from source instead of building them separately.
The compiler to use.
Use a separate bundle containing code used across multiple bundles.
Delete the output path before building.
URL where the application will be deployed.
Extract CSS into a
Conditional polyfills loaded in browsers which do not support
Extract all licenses in a separate file, in the case of production builds only.
Replace files with other files in the build.
index.html file to the output path. This can be turned off if using a webpack plugin to generate HTML such as
HTML File which will be contain the application.
The name of the main entry-point file.
Memory limit for type checking service process in
Number of workers to use for type checking.
Names the produced bundles according to their entry file.
The output path of the generated files.
Define the output filename cache-busting hashing mode.
Enables optimization of the build output.
Log progress to the console while building.
Polyfills to load before application
Set a path to PostCSS config that applies to the app and all libs. Defaults to
undefined, which auto-detects postcss.config.js files in each
Use a separate bundle containing the runtime.
Output sourcemaps. Use 'hidden' for use with error reporting tools without generating sourcemap comment.
External Scripts which will be included before the main application entry.
External Styles which will be included with the application
Options to pass to style preprocessors.
Enables the use of subresource integrity validation.
Generates a 'stats.json' file which can be analyzed using tools such as: 'webpack-bundle-analyzer' or
The name of the Typescript configuration file.
Use a separate bundle containing only vendor libraries.
Emits verbose output
Enable re-building when files change.
Path to a function which takes a webpack config, some context and returns the resulting webpack config. See https://nx.dev/guides/customize-webpack