diff --git a/blog/webpack/webpack-loader.md b/blog/webpack/webpack-loader.md index a4feb1d864997aa6342e86a273c6e883839523cf..28a5953327c163ddd76042116a8c1c77d213828c 100644 --- a/blog/webpack/webpack-loader.md +++ b/blog/webpack/webpack-loader.md @@ -4,6 +4,8 @@ loader 将不同类型的文件转换为 webpack 可识别的模块 +示例代码:[https://github.com/mouday/webpack-loader-plugins](https://github.com/mouday/webpack-loader-plugins) + ## loader 使用方式 1. 配置方式: pre、normal、post (推荐使用) diff --git a/blog/webpack/webpack-plugin.md b/blog/webpack/webpack-plugin.md index f2d01d1248415b7672101b4f6bbfb6255accd1e3..f5bdf2095abd5acd21312ccf45df790b935da6bb 100644 --- a/blog/webpack/webpack-plugin.md +++ b/blog/webpack/webpack-plugin.md @@ -4,6 +4,8 @@ 文档:[https://webpack.docschina.org/api/plugins](https://webpack.docschina.org/api/plugins) +示例代码:[https://github.com/mouday/webpack-loader-plugins](https://github.com/mouday/webpack-loader-plugins) + ### 钩子 钩子的本质就是:事件