Additional options accepted by MinifyPlugin. All options accepted by babel-preset-minify
are also handled by the plugin.
- Source:
- See:
Members
(static) banner :string/function
The comment which should be prepended to the transformed bundle. Function generating banner comment is also accepted.
Type:
- string/function
- Source:
(static) bannerNewLine :boolean
Indicates if the banner comment should be followed by a new line.
Type:
- boolean
- Since:
- 4.0.0
- Source:
(static) comments :boolean
Indicates if comments should be preserved in source.
Type:
- boolean
- Default Value:
- true
- Source:
(static) plugins :Array.<module:rollup-plugin-babel-minify.BabelPlugin>
Indicates which Babel plugins should be loaded alongside minify preset; two plugins are loaded by default:
@comandeer/babel-plugin-banner
,@babel/plugin-syntax-dynamic-import
(since 7.0.0).
Type:
- Since:
- 6.2.0
- Source:
(static) sourceMap :boolean
Indicates whether sourcemap should be generated.
Type:
- boolean
- Default Value:
- true
- Source: