Optional
cwdprocess.cwd()
Optional
enforceThe value of enforce can be either "pre"
or "post"
, see more at https://vitejs.dev/guide/api-plugin.html#plugin-ordering.
强制执行顺序,pre
前,post
后,参考 https://cn.vitejs.dev/guide/api-plugin.html#plugin-ordering
Optional
globbyOptions for globby. See more at https://github.com/sindresorhus/globby#options
globby 的选项,设置 src
的匹配参数。
Optional
hookDefault 'closeBundle'
, vite hook the plugin should use.
默认 'closeBundle'
,调用指定钩子函数时开始复制。
'closeBundle'
Array of targets to copy.
复制文件的规则配置。
Generated using TypeDoc
Default
process.cwd()
, The current working directory in which to search.默认
process.cwd()
,用于拼接src
的路径。