介绍

webpack是一款强大的模块加载器兼打包工具,它能把各种资源,例如JS(含JSX)、coffee、样式(含less/sass)、图片等都作为模块来使用和处理。

webpack

webpack有什么特别之处

  • 插件plugins:rich plugins & flexible
  • 构建性能Performance: async I/O
  • 加载器Loaders: bundle any static resource
  • 对模块的支持Support: supports AMD and CommonJs module styles & support most existing libraries.
  • 代码拆分Code Splitting: split your codebase into chunks
  • 性能优化Optimizations: can do many optimizations to reduce the output size & handle request caching
  • 开发者工具Development Tools: SourceMaps & development middleware & development server
  • 多端适用Multiple targets: web & node.js

results matching ""

    No results matching ""