Skip to content

A webpack plugin which can significantly increase build speed at development. ๐Ÿš€๐Ÿš€๐Ÿš€

Notifications You must be signed in to change notification settings

hippy-contrib/hippy-esbuild-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

5 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

webpack-esbuid-plugin

ๅผ€ๅ‘็Žฏๅขƒไธ‹็›ดๆŽฅไฝฟ็”จ esbuild ๆ‰“ๅŒ…๏ผŒๅคงๅคงๆๅ‡ๅผ€ๅ‘ๆ•ˆ็Ž‡ๅ’Œไฝ“้ชŒ

Usage

็ฌฌไธ€ๆญฅ๏ผšๅฎ‰่ฃ… npm ๅŒ…

tnpm i esbuild-loader @tencent/webpack-esbuild-plugin -D

็ฌฌไบŒๆญฅ๏ผšไฟฎๆ”น้กน็›ฎไธ‹็š„ webpack.config.js ้…็ฝฎ

const WebpackESBuildPlugin = require('@tencent/webpack-esbuild-plugin');

module.exports = {
  plugins: [new WebpackESBuildPlugin()],
}

Features

  • ๅœจ development ๆจกๅผไธ‹็›ดๆŽฅไฝฟ็”จ esbuild ๆ‰“ๅŒ…๏ผŒๅคงๅคงๆๅ‡ๅผ€ๅ‘ๆ•ˆ็Ž‡ๅ’Œไฝ“้ชŒ
  • watch ๆจกๅผไธ‹ๆไพ›ๆ–‡ไปถๅ˜ๆ›ดใ€้‡ๆ–ฐๆ‰“ๅŒ…ใ€ๆ‰“ๅŒ…ๆ—ถ้—ด็ญ‰ๆ›ดๅ‹ๅฅฝ็š„ๅ‘ฝไปค่กŒๆ็คบ

About

A webpack plugin which can significantly increase build speed at development. ๐Ÿš€๐Ÿš€๐Ÿš€

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published