Files
webpack5-tutorial/docs/base/development.md
2024-10-16 17:02:47 +08:00

16 lines
567 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 开发模式介绍
开发模式顾名思义就是我们开发代码时使用的模式。
这个模式下我们主要做两件事:
1. 编译代码,使浏览器能识别运行
开发时我们有样式资源、字体图标、图片资源、html 资源等webpack 默认都不能处理这些资源,所以我们要加载配置来编译这些资源
2. 代码质量检查,树立代码规范
提前检查代码的一些隐患,让代码运行时能更加健壮。
提前检查代码规范和格式,统一团队编码风格,让代码更优雅美观。