Webpack 5 Up and Running

Tom Owens

  • 出版商: Packt Publishing
  • 出版日期: 2020-05-28
  • 定價: $875
  • 售價: 9.0$788
  • 語言: 英文
  • 頁數: 220
  • 裝訂: Paperback
  • ISBN: 1789954401
  • ISBN-13: 9781789954401
  • 相關分類: Webpack
  • 立即出貨 (庫存=1)

商品描述

Key Features

  • A beginner's guide to understanding application bundling and Webpack project structure
  • Leverage Webpack's modular builds to optimize the performance of your web apps
  • Discover how Webpack facilitates package bundling and understand its integration with Angular and Vue.js

Book Description

Webpack has emerged as one of the most popular module bundlers used in web development projects, and serves as one of the most advanced web development build tools.

This quick reference begins with an introduction to Webpack and teaches you how to use it for initializing dependency management in your web projects. Starting with code splitting and transpiling, you will be taught about dependency graphs and how to configure them to achieve improved functionality and uncover hidden features. You'll also learn the difference between configuration files and options, and how Node.js plays a role in their creation and management. As you advance, you will delve into frameworks and unsupported code, which can be processed using loaders. Moving on, you'll be well on your way to performing application bundling efficiently, and will be introduced to the art of custom loader creation and plugin development.

By the end of this Webpack book, you'll have gained a basic understanding of deployment, live coding, and even hot module replacement, and you'll be able to incorporate application bundling in your web project efficiently.

What you will learn

  • Get to grips with Webpack bundle configuration and set options
  • Optimize your JavaScript projects by using code-splitting techniques
  • Efficiently handle dependencies in complex web apps
  • Break down complex problems into simple ones using advanced debugging procedures
  • Master version migration and deployment hurdles
  • Effectively deploy the Webpack application using Babel

Who this book is for

The book is for web developers looking to get started with dependency management in their web project by learning Webpack. Working knowledge of JavaScript is assumed.

商品描述(中文翻譯)

主要特點


  • 初學者指南,了解應用程式打包和 Webpack 專案結構

  • 利用 Webpack 的模組化建置來優化網頁應用程式的效能

  • 探索 Webpack 如何進行套件打包,並了解其與 Angular 和 Vue.js 的整合

書籍描述

Webpack 已成為網頁開發專案中最受歡迎的模組打包工具之一,也是最先進的網頁開發建置工具之一。

這本快速參考從介紹 Webpack 開始,並教你如何在網頁專案中使用它來初始化依賴管理。從代碼拆分和轉譯開始,你將學習依賴圖和如何配置它們以實現改進功能和發現隱藏功能。你還將學習配置文件和選項之間的區別,以及 Node.js 在它們的創建和管理中的作用。隨著進一步的學習,你將深入研究框架和不支援的代碼,可以使用載入器進行處理。接下來,你將能夠有效地進行應用程式打包,並將介紹自定義載入器的創建和插件開發的技巧。

通過閱讀本書,你將基本了解部署、即時編碼甚至熱模塊替換,並能夠高效地將應用程式打包到你的網頁專案中。

你將學到什麼


  • 瞭解 Webpack 打包配置和設置選項

  • 使用代碼拆分技術優化你的 JavaScript 專案

  • 在複雜的網頁應用程式中有效處理依賴

  • 使用高級調試程序將複雜問題分解為簡單問題

  • 掌握版本遷移和部署的困難

  • 使用 Babel 高效部署 Webpack 應用程式

適合閱讀對象

本書適合希望通過學習 Webpack 在網頁專案中進行依賴管理的網頁開發人員。需要具備 JavaScript 的工作知識。

作者簡介

Tom Owens is a seasoned web developer with over 11 years of industry experience. He graduated from Liverpool John Moores University with a BA (Hons), an FdA, and an MSc. His career began as a freelance web designer, granting him experience around numerous new media fields, including game and frontend development. He moved into internet entrepreneurship, having garnered a great deal of knowledge in offering consultancy to highly successful entrepreneurs. He was later offered a role as Lecturer in Web Development for a private institution called SAE, who offer degrees to BSc (Hons) and BA (Hons) students. Tom has an ongoing passion for coaching and mentoring, which he intends to bring to the fore in this book.

作者簡介(中文翻譯)

Tom Owens是一位經驗豐富的網頁開發人員,擁有超過11年的行業經驗。他畢業於利物浦約翰摩爾斯大學,獲得了BA(榮譽)、FdA和MSc學位。他的職業生涯始於自由職業網頁設計師,使他在許多新媒體領域,包括遊戲和前端開發方面獲得了經驗。他進入了互聯網創業領域,並在為極其成功的企業家提供諮詢方面積累了豐富的知識。後來,他獲得了一個在名為SAE的私立機構擔任網頁開發講師的職位,該機構為BSc(榮譽)和BA(榮譽)學生提供學位。Tom對於教練和指導有著持續的熱情,他打算在這本書中展現出來。

目錄大綱

  1. Introduction to Webpack 5
  2. Working with Modules and Code Splitting
  3. Using Configurations and Options
  4. APIs, Plugins, and Loaders
  5. Libraries and Frameworks
  6. Production, Integration, and Federated Modules
  7. Debugging and Migration
  8. Authoring Tutorials and Live Coding Hacks

目錄大綱(中文翻譯)


  1. Webpack 5 簡介

  2. 模組與程式碼分割

  3. 使用配置和選項

  4. API、插件和載入器

  5. 函式庫和框架

  6. 產品、整合和聯邦模組

  7. 除錯和遷移

  8. 撰寫教學和現場編碼技巧