azl397985856 / fe-interview

宇宙最强的前端面试指南 (https://lucifer.ren/fe-interview)
Apache License 2.0
2.83k stars 260 forks source link

【每日一题】- 2020-04-30 - webpack中的plugin是什么?能否用loader来代替? #120

Closed azl397985856 closed 4 years ago

azl397985856 commented 4 years ago

描述

那么我们是否可以使用loader 来完成plugin呢? 如果不能, 请举例说明。

扩展

反过来,loader能否用plugin代替?

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.