-
Notifications
You must be signed in to change notification settings - Fork 37
Output Configuration
<jsonix:output
naming="compact|standard"
fileName="${module.name}.compact.js"/>
Configures output (naming strategy and file name pattern) for modules.
-
naming
, optional - specifies whethercompact
orstandard
naming should be used. If omitted, thestandard
naming will be used. -
fileName
, optional - file name pattern for the generated files. Supports the special${module.name}
expression which will be substituted with the module name. If omitted, will be generated automatically based on the effectivenaming
:-
${module.name}.js
ifnaming
isstandard
. -
${module.name}.compact.js
ifnaming
iscompact
.
-
If the output
is configured within module, it will be used to write out the module's JavaScript. Every output
configured for the module will generate its own JavaScript file (named based on the fileName
pattern) using the configured naming strategy (determined based on the naming
attribute).
If the output
is configured on the top level (i.e. not within any module), it provides default output configuration for modules. If some module does not declare any output configuration, default output configuration will be applied. If no default output is configured on the top level, at least one default output configuration will be created implicitly, based on the default naming strategy.
- Usage
- Basic Concepts
- Generation
- Configuration
- Advanced Topics
- Sample Projects
- Troubleshooting
- Development