export const searchIndex = [ { "title": "首页", "headers": [], "path": "/", "pathLocale": "/", "extraFields": [] }, { "title": "前言", "headers": [ { "level": 2, "title": "为什么需要打包工具?", "slug": "为什么需要打包工具", "children": [] }, { "level": 2, "title": "有哪些打包工具?", "slug": "有哪些打包工具", "children": [] } ], "path": "/base/", "pathLocale": "/", "extraFields": [] }, { "title": "基本使用", "headers": [ { "level": 2, "title": "功能介绍", "slug": "功能介绍", "children": [] }, { "level": 2, "title": "开始使用", "slug": "开始使用", "children": [ { "level": 3, "title": "1. 资源目录", "slug": "_1-资源目录", "children": [] }, { "level": 3, "title": "2. 创建文件", "slug": "_2-创建文件", "children": [] }, { "level": 3, "title": "3. 下载依赖", "slug": "_3-下载依赖", "children": [] }, { "level": 3, "title": "4. 启用 Webpack", "slug": "_4-启用-webpack", "children": [] }, { "level": 3, "title": "5. 观察输出文件", "slug": "_5-观察输出文件", "children": [] } ] }, { "level": 2, "title": "小结", "slug": "小结", "children": [] } ], "path": "/base/base.html", "pathLocale": "/", "extraFields": [] }, { "title": "自动清空上次打包资源", "headers": [ { "level": 2, "title": "1. 配置", "slug": "_1-配置", "children": [] }, { "level": 2, "title": "2. 运行指令", "slug": "_2-运行指令", "children": [] } ], "path": "/base/clean.html", "pathLocale": "/", "extraFields": [] }, { "title": "基本配置", "headers": [ { "level": 2, "title": "5 大核心概念", "slug": "_5-大核心概念", "children": [] }, { "level": 2, "title": "准备 Webpack 配置文件", "slug": "准备-webpack-配置文件", "children": [] }, { "level": 2, "title": "修改配置文件", "slug": "修改配置文件", "children": [] }, { "level": 2, "title": "小结", "slug": "小结", "children": [] } ], "path": "/base/config.html", "pathLocale": "/", "extraFields": [] }, { "title": "处理样式资源", "headers": [ { "level": 2, "title": "介绍", "slug": "介绍", "children": [] }, { "level": 2, "title": "处理 Css 资源", "slug": "处理-css-资源", "children": [ { "level": 3, "title": "1. 下载包", "slug": "_1-下载包", "children": [] }, { "level": 3, "title": "2. 功能介绍", "slug": "_2-功能介绍", "children": [] }, { "level": 3, "title": "3. 配置", "slug": "_3-配置", "children": [] }, { "level": 3, "title": "4. 添加 Css 资源", "slug": "_4-添加-css-资源", "children": [] }, { "level": 3, "title": "5. 运行指令", "slug": "_5-运行指令", "children": [] } ] }, { "level": 2, "title": "处理 Less 资源", "slug": "处理-less-资源", "children": [ { "level": 3, "title": "1. 下载包", "slug": "_1-下载包-1", "children": [] }, { "level": 3, "title": "2. 功能介绍", "slug": "_2-功能介绍-1", "children": [] }, { "level": 3, "title": "3. 配置", "slug": "_3-配置-1", "children": [] }, { "level": 3, "title": "4. 添加 Less 资源", "slug": "_4-添加-less-资源", "children": [] }, { "level": 3, "title": "5. 运行指令", "slug": "_5-运行指令-1", "children": [] } ] }, { "level": 2, "title": "处理 Sass 和 Scss 资源", "slug": "处理-sass-和-scss-资源", "children": [ { "level": 3, "title": "1. 下载包", "slug": "_1-下载包-2", "children": [] }, { "level": 3, "title": "2. 功能介绍", "slug": "_2-功能介绍-2", "children": [] }, { "level": 3, "title": "3. 配置", "slug": "_3-配置-2", "children": [] }, { "level": 3, "title": "4. 添加 Sass 资源", "slug": "_4-添加-sass-资源", "children": [] }, { "level": 3, "title": "5. 运行指令", "slug": "_5-运行指令-2", "children": [] } ] }, { "level": 2, "title": "处理 Styl 资源", "slug": "处理-styl-资源", "children": [ { "level": 3, "title": "1. 下载包", "slug": "_1-下载包-3", "children": [] }, { "level": 3, "title": "2. 功能介绍", "slug": "_2-功能介绍-3", "children": [] }, { "level": 3, "title": "3. 配置", "slug": "_3-配置-3", "children": [] }, { "level": 3, "title": "4. 添加 Styl 资源", "slug": "_4-添加-styl-资源", "children": [] }, { "level": 3, "title": "5. 运行指令", "slug": "_5-运行指令-3", "children": [] } ] } ], "path": "/base/css.html", "pathLocale": "/", "extraFields": [] }, { "title": "开发模式介绍", "headers": [], "path": "/base/development.html", "pathLocale": "/", "extraFields": [] }, { "title": "处理字体图标资源", "headers": [ { "level": 2, "title": "1. 下载字体图标文件", "slug": "_1-下载字体图标文件", "children": [] }, { "level": 2, "title": "2. 添加字体图标资源", "slug": "_2-添加字体图标资源", "children": [] }, { "level": 2, "title": "3. 配置", "slug": "_3-配置", "children": [] }, { "level": 2, "title": "4. 运行指令", "slug": "_4-运行指令", "children": [] } ], "path": "/base/font.html", "pathLocale": "/", "extraFields": [] }, { "title": "处理 Html 资源", "headers": [ { "level": 2, "title": "1. 下载包", "slug": "_1-下载包", "children": [] }, { "level": 2, "title": "2. 配置", "slug": "_2-配置", "children": [] }, { "level": 2, "title": "3. 修改 index.html", "slug": "_3-修改-index-html", "children": [] }, { "level": 2, "title": "4. 运行指令", "slug": "_4-运行指令", "children": [] } ], "path": "/base/html.html", "pathLocale": "/", "extraFields": [] }, { "title": "处理图片资源", "headers": [ { "level": 2, "title": "1. 配置", "slug": "_1-配置", "children": [] }, { "level": 2, "title": "2. 添加图片资源", "slug": "_2-添加图片资源", "children": [] }, { "level": 2, "title": "3. 使用图片资源", "slug": "_3-使用图片资源", "children": [] }, { "level": 2, "title": "4. 运行指令", "slug": "_4-运行指令", "children": [] }, { "level": 2, "title": "5. 输出资源情况", "slug": "_5-输出资源情况", "children": [] }, { "level": 2, "title": "6. 对图片资源进行优化", "slug": "_6-对图片资源进行优化", "children": [] } ], "path": "/base/image.html", "pathLocale": "/", "extraFields": [] }, { "title": "处理 js 资源", "headers": [ { "level": 2, "title": "Eslint", "slug": "eslint", "children": [ { "level": 3, "title": "1. 配置文件", "slug": "_1-配置文件", "children": [] }, { "level": 3, "title": "2. 具体配置", "slug": "_2-具体配置", "children": [] }, { "level": 3, "title": "3. 在 Webpack 中使用", "slug": "_3-在-webpack-中使用", "children": [] }, { "level": 3, "title": "4. VSCode Eslint 插件", "slug": "_4-vscode-eslint-插件", "children": [] } ] }, { "level": 2, "title": "Babel", "slug": "babel", "children": [ { "level": 3, "title": "1. 配置文件", "slug": "_1-配置文件-1", "children": [] }, { "level": 3, "title": "2. 具体配置", "slug": "_2-具体配置-1", "children": [] }, { "level": 3, "title": "3. 在 Webpack 中使用", "slug": "_3-在-webpack-中使用-1", "children": [] } ] } ], "path": "/base/javascript.html", "pathLocale": "/", "extraFields": [] }, { "title": "html 压缩", "headers": [], "path": "/base/minifyHtml.html", "pathLocale": "/", "extraFields": [] }, { "title": "Css 处理", "headers": [ { "level": 2, "title": "提取 Css 成单独文件", "slug": "提取-css-成单独文件", "children": [ { "level": 3, "title": "1. 下载包", "slug": "_1-下载包", "children": [] }, { "level": 3, "title": "2. 配置", "slug": "_2-配置", "children": [] }, { "level": 3, "title": "3. 运行指令", "slug": "_3-运行指令", "children": [] } ] }, { "level": 2, "title": "Css 兼容性处理", "slug": "css-兼容性处理", "children": [ { "level": 3, "title": "1. 下载包", "slug": "_1-下载包-1", "children": [] }, { "level": 3, "title": "2. 配置", "slug": "_2-配置-1", "children": [] }, { "level": 3, "title": "3. 控制兼容性", "slug": "_3-控制兼容性", "children": [] }, { "level": 3, "title": "4. 合并配置", "slug": "_4-合并配置", "children": [] }, { "level": 3, "title": "5. 运行指令", "slug": "_5-运行指令", "children": [] } ] }, { "level": 2, "title": "Css 压缩", "slug": "css-压缩", "children": [ { "level": 3, "title": "1. 下载包", "slug": "_1-下载包-2", "children": [] }, { "level": 3, "title": "2. 配置", "slug": "_2-配置-2", "children": [] }, { "level": 3, "title": "3. 运行指令", "slug": "_3-运行指令-1", "children": [] } ] } ], "path": "/base/optimizeCss.html", "pathLocale": "/", "extraFields": [] }, { "title": "处理其他资源", "headers": [ { "level": 2, "title": "1. 配置", "slug": "_1-配置", "children": [] }, { "level": 2, "title": "2. 运行指令", "slug": "_2-运行指令", "children": [] } ], "path": "/base/other.html", "pathLocale": "/", "extraFields": [] }, { "title": "修改输出资源的名称和路径", "headers": [ { "level": 2, "title": "1. 配置", "slug": "_1-配置", "children": [] }, { "level": 2, "title": "2. 修改 index.html", "slug": "_2-修改-index-html", "children": [] }, { "level": 2, "title": "3. 运行指令", "slug": "_3-运行指令", "children": [] } ], "path": "/base/output.html", "pathLocale": "/", "extraFields": [] }, { "title": "生产模式介绍", "headers": [ { "level": 2, "title": "生产模式准备", "slug": "生产模式准备", "children": [ { "level": 3, "title": "1. 文件目录", "slug": "_1-文件目录", "children": [] }, { "level": 3, "title": "2. 修改 webpack.dev.js", "slug": "_2-修改-webpack-dev-js", "children": [] }, { "level": 3, "title": "3. 修改 webpack.prod.js", "slug": "_3-修改-webpack-prod-js", "children": [] }, { "level": 3, "title": "4. 配置运行指令", "slug": "_4-配置运行指令", "children": [] } ] } ], "path": "/base/production.html", "pathLocale": "/", "extraFields": [] }, { "title": "开发服务器&自动化", "headers": [ { "level": 2, "title": "1. 下载包", "slug": "_1-下载包", "children": [] }, { "level": 2, "title": "2. 配置", "slug": "_2-配置", "children": [] }, { "level": 2, "title": "3. 运行指令", "slug": "_3-运行指令", "children": [] } ], "path": "/base/server.html", "pathLocale": "/", "extraFields": [] }, { "title": "总结", "headers": [], "path": "/base/summary.html", "pathLocale": "/", "extraFields": [] }, { "title": "依赖环境", "headers": [], "path": "/intro/", "pathLocale": "/", "extraFields": [] }, { "title": "学习资料", "headers": [], "path": "/intro/asset.html", "pathLocale": "/", "extraFields": [] }, { "title": "适合群体", "headers": [], "path": "/intro/group.html", "pathLocale": "/", "extraFields": [] }, { "title": "我能学到什么", "headers": [], "path": "/intro/learn.html", "pathLocale": "/", "extraFields": [] }, { "title": "前置知识", "headers": [], "path": "/intro/pre.html", "pathLocale": "/", "extraFields": [] }, { "title": "介绍", "headers": [], "path": "/origin/", "pathLocale": "/", "extraFields": [] }, { "title": "Loader 原理", "headers": [ { "level": 2, "title": "loader 概念", "slug": "loader-概念", "children": [] }, { "level": 2, "title": "loader 执行顺序", "slug": "loader-执行顺序", "children": [] }, { "level": 2, "title": "开发一个 loader", "slug": "开发一个-loader", "children": [ { "level": 3, "title": "1. 最简单的 loader", "slug": "_1-最简单的-loader", "children": [] }, { "level": 3, "title": "2. loader 接受的参数", "slug": "_2-loader-接受的参数", "children": [] } ] }, { "level": 2, "title": "loader 分类", "slug": "loader-分类", "children": [ { "level": 3, "title": "1. 同步 loader", "slug": "_1-同步-loader", "children": [] }, { "level": 3, "title": "2. 异步 loader", "slug": "_2-异步-loader", "children": [] }, { "level": 3, "title": "3. Raw Loader", "slug": "_3-raw-loader", "children": [] }, { "level": 3, "title": "4. Pitching Loader", "slug": "_4-pitching-loader", "children": [] } ] }, { "level": 2, "title": "loader API", "slug": "loader-api", "children": [] }, { "level": 2, "title": "手写 clean-log-loader", "slug": "手写-clean-log-loader", "children": [] }, { "level": 2, "title": "手写 banner-loader", "slug": "手写-banner-loader", "children": [] }, { "level": 2, "title": "手写 babel-loader", "slug": "手写-babel-loader", "children": [] }, { "level": 2, "title": "手写 file-loader", "slug": "手写-file-loader", "children": [] }, { "level": 2, "title": "手写 style-loader", "slug": "手写-style-loader", "children": [] } ], "path": "/origin/loader.html", "pathLocale": "/", "extraFields": [] }, { "title": "Plugin 原理", "headers": [ { "level": 2, "title": "Plugin 的作用", "slug": "plugin-的作用", "children": [] }, { "level": 2, "title": "Plugin 工作原理", "slug": "plugin-工作原理", "children": [] }, { "level": 2, "title": "Webpack 内部的钩子", "slug": "webpack-内部的钩子", "children": [ { "level": 3, "title": "什么是钩子", "slug": "什么是钩子", "children": [] }, { "level": 3, "title": "Tapable", "slug": "tapable", "children": [] } ] }, { "level": 2, "title": "Plugin 构建对象", "slug": "plugin-构建对象", "children": [ { "level": 3, "title": "Compiler", "slug": "compiler", "children": [] }, { "level": 3, "title": "Compilation", "slug": "compilation", "children": [] }, { "level": 3, "title": "生命周期简图", "slug": "生命周期简图", "children": [] } ] }, { "level": 2, "title": "开发一个插件", "slug": "开发一个插件", "children": [ { "level": 3, "title": "最简单的插件", "slug": "最简单的插件", "children": [] }, { "level": 3, "title": "注册 hook", "slug": "注册-hook", "children": [] }, { "level": 3, "title": "启动调试", "slug": "启动调试", "children": [] } ] }, { "level": 2, "title": "BannerWebpackPlugin", "slug": "bannerwebpackplugin", "children": [] }, { "level": 2, "title": "CleanWebpackPlugin", "slug": "cleanwebpackplugin", "children": [] }, { "level": 2, "title": "AnalyzeWebpackPlugin", "slug": "analyzewebpackplugin", "children": [] }, { "level": 2, "title": "InlineChunkWebpackPlugin", "slug": "inlinechunkwebpackplugin", "children": [] } ], "path": "/origin/plugin.html", "pathLocale": "/", "extraFields": [] }, { "title": "总结", "headers": [], "path": "/origin/summary.html", "pathLocale": "/", "extraFields": [] }, { "title": "介绍", "headers": [], "path": "/senior/", "pathLocale": "/", "extraFields": [] }, { "title": "提升开发体验", "headers": [ { "level": 2, "title": "SourceMap", "slug": "sourcemap", "children": [ { "level": 3, "title": "为什么", "slug": "为什么", "children": [] }, { "level": 3, "title": "是什么", "slug": "是什么", "children": [] }, { "level": 3, "title": "怎么用", "slug": "怎么用", "children": [] } ] } ], "path": "/senior/enhanceExperience.html", "pathLocale": "/", "extraFields": [] }, { "title": "提升打包构建速度", "headers": [ { "level": 2, "title": "HotModuleReplacement", "slug": "hotmodulereplacement", "children": [ { "level": 3, "title": "为什么", "slug": "为什么", "children": [] }, { "level": 3, "title": "是什么", "slug": "是什么", "children": [] }, { "level": 3, "title": "怎么用", "slug": "怎么用", "children": [] } ] }, { "level": 2, "title": "OneOf", "slug": "oneof", "children": [ { "level": 3, "title": "为什么", "slug": "为什么-1", "children": [] }, { "level": 3, "title": "是什么", "slug": "是什么-1", "children": [] }, { "level": 3, "title": "怎么用", "slug": "怎么用-1", "children": [] } ] }, { "level": 2, "title": "Include/Exclude", "slug": "include-exclude", "children": [ { "level": 3, "title": "为什么", "slug": "为什么-2", "children": [] }, { "level": 3, "title": "是什么", "slug": "是什么-2", "children": [] }, { "level": 3, "title": "怎么用", "slug": "怎么用-2", "children": [] } ] }, { "level": 2, "title": "Cache", "slug": "cache", "children": [ { "level": 3, "title": "为什么", "slug": "为什么-3", "children": [] }, { "level": 3, "title": "是什么", "slug": "是什么-3", "children": [] }, { "level": 3, "title": "怎么用", "slug": "怎么用-3", "children": [] } ] }, { "level": 2, "title": "Thead", "slug": "thead", "children": [ { "level": 3, "title": "为什么", "slug": "为什么-4", "children": [] }, { "level": 3, "title": "是什么", "slug": "是什么-4", "children": [] }, { "level": 3, "title": "怎么用", "slug": "怎么用-4", "children": [] } ] } ], "path": "/senior/liftingSpeed.html", "pathLocale": "/", "extraFields": [] }, { "title": "优化代码运行性能", "headers": [ { "level": 2, "title": "Code Split", "slug": "code-split", "children": [ { "level": 3, "title": "为什么", "slug": "为什么", "children": [] }, { "level": 3, "title": "是什么", "slug": "是什么", "children": [] }, { "level": 3, "title": "怎么用", "slug": "怎么用", "children": [] } ] }, { "level": 2, "title": "Preload / Prefetch", "slug": "preload-prefetch", "children": [ { "level": 3, "title": "为什么", "slug": "为什么-1", "children": [] }, { "level": 3, "title": "是什么", "slug": "是什么-1", "children": [] }, { "level": 3, "title": "怎么用", "slug": "怎么用-1", "children": [] } ] }, { "level": 2, "title": "Network Cache", "slug": "network-cache", "children": [ { "level": 3, "title": "为什么", "slug": "为什么-2", "children": [] }, { "level": 3, "title": "是什么", "slug": "是什么-2", "children": [] }, { "level": 3, "title": "怎么用", "slug": "怎么用-2", "children": [] } ] }, { "level": 2, "title": "Core-js", "slug": "core-js", "children": [ { "level": 3, "title": "为什么", "slug": "为什么-3", "children": [] }, { "level": 3, "title": "是什么", "slug": "是什么-3", "children": [] }, { "level": 3, "title": "怎么用", "slug": "怎么用-3", "children": [] } ] }, { "level": 2, "title": "PWA", "slug": "pwa", "children": [ { "level": 3, "title": "为什么", "slug": "为什么-4", "children": [] }, { "level": 3, "title": "是什么", "slug": "是什么-4", "children": [] }, { "level": 3, "title": "怎么用", "slug": "怎么用-4", "children": [] } ] } ], "path": "/senior/optimizePerformance.html", "pathLocale": "/", "extraFields": [] }, { "title": "减少代码体积", "headers": [ { "level": 2, "title": "Tree Shaking", "slug": "tree-shaking", "children": [ { "level": 3, "title": "为什么", "slug": "为什么", "children": [] }, { "level": 3, "title": "是什么", "slug": "是什么", "children": [] }, { "level": 3, "title": "怎么用", "slug": "怎么用", "children": [] } ] }, { "level": 2, "title": "Babel", "slug": "babel", "children": [ { "level": 3, "title": "为什么", "slug": "为什么-1", "children": [] }, { "level": 3, "title": "是什么", "slug": "是什么-1", "children": [] }, { "level": 3, "title": "怎么用", "slug": "怎么用-1", "children": [] } ] }, { "level": 2, "title": "Image Minimizer", "slug": "image-minimizer", "children": [ { "level": 3, "title": "为什么", "slug": "为什么-2", "children": [] }, { "level": 3, "title": "是什么", "slug": "是什么-2", "children": [] }, { "level": 3, "title": "怎么用", "slug": "怎么用-2", "children": [] } ] } ], "path": "/senior/reduceVolume.html", "pathLocale": "/", "extraFields": [] }, { "title": "总结", "headers": [], "path": "/senior/summary.html", "pathLocale": "/", "extraFields": [] }, { "title": "介绍", "headers": [], "path": "/project/", "pathLocale": "/", "extraFields": [] }, { "title": "React 脚手架", "headers": [ { "level": 2, "title": "开发模式配置", "slug": "开发模式配置", "children": [] }, { "level": 2, "title": "生产模式配置", "slug": "生产模式配置", "children": [] }, { "level": 2, "title": "其他配置", "slug": "其他配置", "children": [] }, { "level": 2, "title": "合并开发和生产配置", "slug": "合并开发和生产配置", "children": [] }, { "level": 2, "title": "优化配置", "slug": "优化配置", "children": [] } ], "path": "/project/react-cli.html", "pathLocale": "/", "extraFields": [] }, { "title": "总结", "headers": [], "path": "/project/summary.html", "pathLocale": "/", "extraFields": [] }, { "title": "Vue 脚手架", "headers": [ { "level": 2, "title": "开发模式配置", "slug": "开发模式配置", "children": [] }, { "level": 2, "title": "生产模式配置", "slug": "生产模式配置", "children": [] }, { "level": 2, "title": "其他配置", "slug": "其他配置", "children": [] }, { "level": 2, "title": "合并开发和生产配置", "slug": "合并开发和生产配置", "children": [] }, { "level": 2, "title": "优化配置", "slug": "优化配置", "children": [] } ], "path": "/project/vue-cli.html", "pathLocale": "/", "extraFields": [] }, { "title": "", "headers": [], "path": "/404.html", "pathLocale": "/", "extraFields": [] } ] if (import.meta.webpackHot) { import.meta.webpackHot.accept() if (__VUE_HMR_RUNTIME__.updateSearchIndex) { __VUE_HMR_RUNTIME__.updateSearchIndex(searchIndex) } } if (import.meta.hot) { import.meta.hot.accept(({ searchIndex }) => { __VUE_HMR_RUNTIME__.updateSearchIndex(searchIndex) }) }