مشاهده همه دوره‌ها
Toolingمتوسط14 قسمت

Webpack برای همه

Webpack for Everyone

Webpack is a wonderful tool for bundling front-end assets. Having said that, it can sometimes be a bit confusing to newcomers who switch over from a more traditional "concatenate these scripts and libraries in this exact order" setup. However, considering the recent release of Webpack 2, there has never been a better time to dive in.

In this series, I'll show you how simple it is to bundle and optimize your assets for production.

قسمت‌های دوره

کامپایل بدون پیکربندی

7m 7s

Start bundling JavaScript with Webpack—no config file needed! Learn to compile effortlessly using just the command line in this beginner-friendly guide.

یک فایل پیکربندی اختصاصی

2m 37s

Learn how to set up a dedicated webpack.config.js file to customize your Webpack build and streamline your development process with ease.

ماژول‌ها به سادگی فایل هستند

7m 26s

Discover how modules are simply files! Learn to import/export with ease and explore CommonJS vs ES2015 modules in this friendly guide.

لودرها تبدیل‌کننده هستند

4m 51s

Explore how Webpack loaders transform files—compile Sass, ES2015, or inject CSS—making your build process flexible and powerful.

کامپایل ES2015 با Babel

4m 45s

Learn how to write ES2015 JavaScript and use babel-loader with Webpack to compile it into browser-friendly vanilla JavaScript effortlessly.

فشرده‌سازی و محیط‌ها

3m 47s

Learn how to minify JavaScript with Webpack and Uglify while managing separate configs for development and production environments.

کامپایل Sass

4m 24s

Learn how to easily compile Sass with Webpack, adding powerful CSS preprocessing to your build for cleaner, more maintainable stylesheets.

استخراج CSS به یک فایل اختصاصی

5m 22s

Learn how to use ExtractTextWebpackPlugin to extract CSS into a dedicated stylesheet, keeping your Webpack builds clean and efficient.

معمای URL نسبی

9m 52s

Understand how Webpack and css-loader handle relative URLs in stylesheets to avoid common pitfalls and streamline your build process.

چگونه CSSهای استفاده نشده را حذف کنیم

4m 49s

Learn how to use PurifyCSS with Webpack to automatically remove unused CSS selectors, keeping your stylesheets clean and optimized.

کش طولانی‌مدت

6m 5s

Master long-term caching with Webpack file hashing to boost performance by uniquely versioning files for efficient browser and server caching.

Manifestهای Webpack

3m 39s

Learn how to use webpack’s manifest.json to dynamically reference hashed bundles, keeping your HTML up-to-date with changing file versions.

بهینه‌سازی خودکار تصویر

5m 37s

Learn how to install img-loader for automatic image optimization and cut asset sizes in half to boost your project's performance effortlessly.

توسعه پلاگین‌های Webpack

8m 59s

Learn how to build custom Webpack plugins easily—extend functionality beyond npm packages and tailor your build process to fit your needs!

یادگیری را ادامه دهید

تصویر بندانگشتی واقعی شوید با Laravel Reverb
واقعی شوید با Laravel Reverb

با Joe Dixon

  • 10 قسمت
  • حرفه‌ای
  • Tooling
تصویر بندانگشتی توسعه توابع سرورلس در Laravel
توسعه توابع سرورلس در Laravel

با Aaron Francis

  • 17 قسمت
  • حرفه‌ای
  • Tooling
تصویر بندانگشتی تحلیل ایستا با PHPStan
تحلیل ایستا با PHPStan

با Luke Downing

  • 5 قسمت
  • متوسط
  • Tooling
تصویر بندانگشتی نمودار و شما
نمودار و شما

با Jeffrey Way

  • 8 قسمت
  • متوسط
  • Tooling
تصویر بندانگشتی Laravel Spark
Laravel Spark

با Taylor Otwell

  • 6 قسمت
  • متوسط
  • Tooling

دوست دارید گاهی خبرهای Laracasts را ایمیل کنیم؟