fes.js/assets/api.html.696478cf.js

2 lines
5.5 KiB
JavaScript

const e=JSON.parse('{"key":"v-c5618810","path":"/reference/plugin/dev/api.html","title":"插件 API","lang":"zh-CN","frontmatter":{},"excerpt":"","headers":[{"level":2,"title":"属性","slug":"属性","link":"#属性","children":[{"level":3,"title":"api.paths","slug":"api-paths","link":"#api-paths","children":[]},{"level":3,"title":"api.cwd","slug":"api-cwd","link":"#api-cwd","children":[]},{"level":3,"title":"api.pkg","slug":"api-pkg","link":"#api-pkg","children":[]},{"level":3,"title":"api.configInstance","slug":"api-configinstance","link":"#api-configinstance","children":[]},{"level":3,"title":"userConfig","slug":"userconfig","link":"#userconfig","children":[]},{"level":3,"title":"config","slug":"config","link":"#config","children":[]},{"level":3,"title":"env","slug":"env","link":"#env","children":[]},{"level":3,"title":"args","slug":"args","link":"#args","children":[]}]},{"level":2,"title":"核心方法","slug":"核心方法","link":"#核心方法","children":[{"level":3,"title":"describe","slug":"describe","link":"#describe","children":[]},{"level":3,"title":"register","slug":"register","link":"#register","children":[]},{"level":3,"title":"applyPlugins","slug":"applyplugins","link":"#applyplugins","children":[]},{"level":3,"title":"registerMethod","slug":"registermethod","link":"#registermethod","children":[]},{"level":3,"title":"registerCommand","slug":"registercommand","link":"#registercommand","children":[]},{"level":3,"title":"registerPresets","slug":"registerpresets","link":"#registerpresets","children":[]},{"level":3,"title":"registerPlugins","slug":"registerplugins","link":"#registerplugins","children":[]},{"level":3,"title":"hasPlugins","slug":"hasplugins","link":"#hasplugins","children":[]},{"level":3,"title":"hasPresets","slug":"haspresets","link":"#haspresets","children":[]},{"level":3,"title":"skipPlugins","slug":"skipplugins","link":"#skipplugins","children":[]}]},{"level":2,"title":"扩展方法","slug":"扩展方法","link":"#扩展方法","children":[{"level":3,"title":"addPluginExports","slug":"addpluginexports","link":"#addpluginexports","children":[]},{"level":3,"title":"addCoreExports","slug":"addcoreexports","link":"#addcoreexports","children":[]},{"level":3,"title":"addRuntimePlugin","slug":"addruntimeplugin","link":"#addruntimeplugin","children":[]},{"level":3,"title":"addRuntimePluginKey","slug":"addruntimepluginkey","link":"#addruntimepluginkey","children":[]},{"level":3,"title":"addEntryImportsAhead","slug":"addentryimportsahead","link":"#addentryimportsahead","children":[]},{"level":3,"title":"addEntryImports","slug":"addentryimports","link":"#addentryimports","children":[]},{"level":3,"title":"addEntryCodeAhead","slug":"addentrycodeahead","link":"#addentrycodeahead","children":[]},{"level":3,"title":"addEntryCode","slug":"addentrycode","link":"#addentrycode","children":[]},{"level":3,"title":"addHTMLHeadScripts","slug":"addhtmlheadscripts","link":"#addhtmlheadscripts","children":[]},{"level":3,"title":"addBeforeMiddlewares","slug":"addbeforemiddlewares","link":"#addbeforemiddlewares","children":[]},{"level":3,"title":"addMiddlewares","slug":"addmiddlewares","link":"#addmiddlewares","children":[]},{"level":3,"title":"addTmpGenerateWatcherPaths","slug":"addtmpgeneratewatcherpaths","link":"#addtmpgeneratewatcherpaths","children":[]},{"level":3,"title":"chainWebpack","slug":"chainwebpack","link":"#chainwebpack","children":[]},{"level":3,"title":"copyTmpFiles","slug":"copytmpfiles","link":"#copytmpfiles","children":[]},{"level":3,"title":"getPort","slug":"getport","link":"#getport","children":[]},{"level":3,"title":"getHostname","slug":"gethostname","link":"#gethostname","children":[]},{"level":3,"title":"getServer","slug":"getserver","link":"#getserver","children":[]},{"level":3,"title":"getRoutes","slug":"getroutes","link":"#getroutes","children":[]},{"level":3,"title":"getRoutesJSON","slug":"getroutesjson","link":"#getroutesjson","children":[]},{"level":3,"title":"modifyRoutes","slug":"modifyroutes","link":"#modifyroutes","children":[]},{"level":3,"title":"modifyBundleConfigOpts","slug":"modifybundleconfigopts","link":"#modifybundleconfigopts","children":[]},{"level":3,"title":"modifyBundleConfig","slug":"modifybundleconfig","link":"#modifybundleconfig","children":[]},{"level":3,"title":"modifyBabelOpts","slug":"modifybabelopts","link":"#modifybabelopts","children":[]},{"level":3,"title":"modifyBabelPresetOpts","slug":"modifybabelpresetopts","link":"#modifybabelpresetopts","children":[]},{"level":3,"title":"modifyPaths","slug":"modifypaths","link":"#modifypaths","children":[]},{"level":3,"title":"modifyDefaultConfig","slug":"modifydefaultconfig","link":"#modifydefaultconfig","children":[]},{"level":3,"title":"modifyConfig","slug":"modifyconfig","link":"#modifyconfig","children":[]},{"level":3,"title":"modifyPublicPathStr","slug":"modifypublicpathstr","link":"#modifypublicpathstr","children":[]},{"level":3,"title":"onPluginReady","slug":"onpluginready","link":"#onpluginready","children":[]},{"level":3,"title":"onStart","slug":"onstart","link":"#onstart","children":[]},{"level":3,"title":"onExit","slug":"onexit","link":"#onexit","children":[]},{"level":3,"title":"onGenerateFiles","slug":"ongeneratefiles","link":"#ongeneratefiles","children":[]},{"level":3,"title":"restartServer","slug":"restartserver","link":"#restartserver","children":[]},{"level":3,"title":"writeTmpFile","slug":"writetmpfile","link":"#writetmpfile","children":[]}]}],"git":{"updatedTime":1681216829000,"contributors":[{"name":"wanchun","email":"445436867@qq.com","commits":1}]},"filePathRelative":"reference/plugin/dev/api.md"}');export{e as data};