Webpack

Webpack 是一個開源前端打包工具。Webpack 提供了前端開發缺乏的模組化開發方式,將各種靜態資源視為模組,並從它生成優化過的程式碼。[1]

Webpack
開發者Tobias Koppers, Sean Larkin, Johannes Ewald, Juho Vepsäläinen, Kees Kluskens and Webpack contributors
初始版本2012年3月10日 (2012-03-10)
穩定版本
5.16.0
(2021年1月19日2021-01-19
源代码库github.com/webpack/webpack
编程语言JavaScript
操作系统跨平台
许可协议MIT许可证
网站webpack.js.org

Webpack可以從終端、或是更改 webpack.config.js 來設定各項功能。[2]

要使用 Webpack 前須先安裝 Node.js。Webpack 其中一個特性是使用載入器來將資源轉化成模組。開發者可以自訂載入器的順序、格式來因應專案的需求。

参见

  • Grunt
  • Gulp.js
  • Browserify

参考文献

  1. . GitHub. [25 Jan 2016]. (原始内容存档于2016年1月22日).
  2. . Wisdom Geek. 2017-01-12 [2017-01-16]. (原始内容存档于2018-06-13) (美国英语).
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.