File tree 1 file changed +11
-0
lines changed
1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -195,6 +195,7 @@ property | default | descriptions
195
195
** opts.root** | ` process.cwd() ` | usually no need to set it
196
196
** opts.handlers** | ` {} ` | see the section below
197
197
** opts.patterns** | ` [] ` | see the section below
198
+ ** opts.excludes** | ` [] ` | see the section below
198
199
** opts.update** | ` 'once' ` | ` 'never' ` or ` 'allways' `
199
200
** opts.refresh** | ` true ` | set ` false ` to skip refreshing on starting
200
201
** opts.watch** | ` false ` | set ` true ` to detect changes
@@ -248,6 +249,16 @@ You can also specify the custom handler for the pattern:
248
249
}
249
250
```
250
251
252
+ ### opts.excludes
253
+
254
+ This option excludes the files from compiling and copying (when exporting). Cache directory and ` 'node_modules/**' ` are always excluded. For example:
255
+
256
+ ``` javascript
257
+ {
258
+ excludes: [' no-compile/**' ]
259
+ }
260
+ ```
261
+
251
262
## Plugins
252
263
253
264
Plugins are the interface to compilers like Rollup or PostCSS. Actually, these are the thin wrapper of these libraries:
You can’t perform that action at this time.
0 commit comments