This repository has been archived by the owner on Mar 15, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
MinifyOptions.jsdoc.html
108 lines (84 loc) · 3.19 KB
/
MinifyOptions.jsdoc.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>JSDoc: Source: MinifyOptions.jsdoc</title>
<script src="scripts/prettify/prettify.js"> </script>
<script src="scripts/prettify/lang-css.js"> </script>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
</head>
<body>
<div id="main">
<h1 class="page-title">Source: MinifyOptions.jsdoc</h1>
<section>
<article>
<pre class="prettyprint source linenums"><code>/**
* Additional options accepted by {@link MinifyPlugin}. All options accepted by `babel-preset-minify`
* are also handled by the plugin.
*
* @see {@link https://github.com/babel/minify/blob/master/packages/babel-preset-minify/README.md#options <code>babel-preset-minify</code> options}
* @interface MinifyOptions
* @memberof module:rollup-plugin-babel-minify
*/
/**
* Indicates if comments should be preserved in source.
*
* @member {boolean} [comments=true]
* @memberof module:rollup-plugin-babel-minify.MinifyOptions
*/
/**
* The comment which should be prepended to the transformed bundle.
* Function generating banner comment is also accepted.
*
* @member {string/function} [banner]
* @memberof module:rollup-plugin-babel-minify.MinifyOptions
*/
/**
* Indicates if the banner comment should be followed by a new line.
*
* @since 4.0.0
* @member {boolean} [bannerNewLine=false]
* @memberof module:rollup-plugin-babel-minify.MinifyOptions
*/
/**
* Indicates whether sourcemap should be generated.
*
* @member {boolean} [sourceMap=true]
* @memberof module:rollup-plugin-babel-minify.MinifyOptions
*/
/**
* Indicates which Babel plugins should be loaded alongside minify preset;
* two plugins are loaded by default:
* * [`@comandeer/babel-plugin-banner`](https://www.npmjs.com/package/@comandeer/babel-plugin-banner),
* * [`@babel/plugin-syntax-dynamic-import`](https://www.npmjs.com/package/@babel/plugin-syntax-dynamic-import) (since 7.0.0).
*
* @since 6.2.0
* @member {module:rollup-plugin-babel-minify.BabelPlugin[]} [plugins]
* @memberof module:rollup-plugin-babel-minify.MinifyOptions
*/
/**
* Babel plugin.
*
* @see {@link https://babeljs.io/docs/en/plugins Plugins in Babel documentation}
* @typedef {Object} BabelPlugin
* @memberof module:rollup-plugin-babel-minify
*/
</code></pre>
</article>
</section>
</div>
<nav>
<h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-rollup-plugin-babel-minify.html">rollup-plugin-babel-minify</a></li></ul><h3>Interfaces</h3><ul><li><a href="module-rollup-plugin-babel-minify.MinifyOptions.html">MinifyOptions</a></li><li><a href="module-rollup-plugin-babel-minify.MinifyPlugin.html">MinifyPlugin</a></li></ul>
</nav>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.3</a> on Fri Sep 20 2019 00:56:46 GMT+0200 (Central European Summer Time)
</footer>
<script> prettyPrint(); </script>
<script src="scripts/linenumber.js"> </script>
</body>
</html>