# laravel-mix

> The power of webpack, distilled for the rest of us.

Latest version **6.0.49** (published 2022-06-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install laravel-mix
pnpm add laravel-mix
yarn add laravel-mix
bun add laravel-mix
```

Provides the commands `mix`, `laravel-mix`.

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 6.0.49 |
| Published | 2022-06-09 |
| First published | 2016-12-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=12.14.0 |
| Dependencies | 50 |
| Unpacked size | 234.7 KB |
| Known vulnerabilities | 0 (+6 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 5220 |
| Author | Jeffrey Way |
| Maintainers | thecrypticace, jeffreyway |
| Keywords | laravel, webpack, laravel elixir, laravel mix |

## Links

- npm: https://www.npmjs.com/package/laravel-mix
- Repository: https://github.com/JeffreyWay/laravel-mix
- Homepage: https://github.com/JeffreyWay/laravel-mix#readme
- Issues: https://github.com/JeffreyWay/laravel-mix/issues
- npm.io page: https://npm.io/package/laravel-mix

## Dependencies (50)

- [md5](https://npm.io/package/md5.md) ^2.3.0
- [glob](https://npm.io/package/glob.md) ^7.2.0
- [chalk](https://npm.io/package/chalk.md) ^4.1.2
- [yargs](https://npm.io/package/yargs.md) ^17.2.1
- [concat](https://npm.io/package/concat.md) ^1.0.3
- [dotenv](https://npm.io/package/dotenv.md) ^10.0.0
- [lodash](https://npm.io/package/lodash.md) ^4.17.21
- [semver](https://npm.io/package/semver.md) ^7.3.5
- [terser](https://npm.io/package/terser.md) ^5.9.0
- [cssnano](https://npm.io/package/cssnano.md) ^5.0.8
- [webpack](https://npm.io/package/webpack.md) ^5.60.0
- [chokidar](https://npm.io/package/chokidar.md) ^3.5.2
- [fs-extra](https://npm.io/package/fs-extra.md) ^10.0.0
- [imagemin](https://npm.io/package/imagemin.md) ^7.0.1
- [clean-css](https://npm.io/package/clean-css.md) ^5.2.4
- [commander](https://npm.io/package/commander.md) ^7.2.0
- [cli-table3](https://npm.io/package/cli-table3.md) ^0.6.0
- [collect.js](https://npm.io/package/collect.js.md) ^4.28.5
- [css-loader](https://npm.io/package/css-loader.md) ^5.2.6
- [img-loader](https://npm.io/package/img-loader.md) ^4.0.0
- [strip-ansi](https://npm.io/package/strip-ansi.md) ^6.0.0
- [webpackbar](https://npm.io/package/webpackbar.md) ^5.0.0-3
- [@babel/core](https://npm.io/package/@babel/core.md) ^7.15.8
- [file-loader](https://npm.io/package/file-loader.md) ^6.2.0
- [html-loader](https://npm.io/package/html-loader.md) ^1.3.2
- [webpack-cli](https://npm.io/package/webpack-cli.md) ^4.9.1
- [autoprefixer](https://npm.io/package/autoprefixer.md) ^10.4.0
- [babel-loader](https://npm.io/package/babel-loader.md) ^8.2.3
- [style-loader](https://npm.io/package/style-loader.md) ^2.0.0
- [dotenv-expand](https://npm.io/package/dotenv-expand.md) ^5.1.0
- [webpack-merge](https://npm.io/package/webpack-merge.md) ^5.8.0
- [@babel/runtime](https://npm.io/package/@babel/runtime.md) ^7.15.4
- [postcss-loader](https://npm.io/package/postcss-loader.md) ^6.2.0
- [@types/clean-css](https://npm.io/package/@types/clean-css.md) ^4.2.5
- [vue-style-loader](https://npm.io/package/vue-style-loader.md) ^4.1.3
- [webpack-notifier](https://npm.io/package/webpack-notifier.md) ^1.14.1
- [@babel/preset-env](https://npm.io/package/@babel/preset-env.md) ^7.15.8
- [node-libs-browser](https://npm.io/package/node-libs-browser.md) ^2.2.1
- [@types/babel__core](https://npm.io/package/@types/babel__core.md) ^7.1.16
- [webpack-dev-server](https://npm.io/package/webpack-dev-server.md) ^4.7.3
- [postcss-load-config](https://npm.io/package/postcss-load-config.md) ^3.1.0
- [@types/imagemin-svgo](https://npm.io/package/@types/imagemin-svgo.md) ^8.0.0
- [terser-webpack-plugin](https://npm.io/package/terser-webpack-plugin.md) ^5.2.4
- [@types/imagemin-mozjpeg](https://npm.io/package/@types/imagemin-mozjpeg.md) ^8.0.1
- [@types/imagemin-optipng](https://npm.io/package/@types/imagemin-optipng.md) ^5.2.1
- [mini-css-extract-plugin](https://npm.io/package/mini-css-extract-plugin.md) ^1.6.2
- [@types/imagemin-gifsicle](https://npm.io/package/@types/imagemin-gifsicle.md) ^7.0.1
- [@babel/plugin-transform-runtime](https://npm.io/package/@babel/plugin-transform-runtime.md) ^7.15.8
- [@babel/plugin-syntax-dynamic-import](https://npm.io/package/@babel/plugin-syntax-dynamic-import.md) ^7.8.3
- [@babel/plugin-proposal-object-rest-spread](https://npm.io/package/@babel/plugin-proposal-object-rest-spread.md) ^7.15.6

## Alternatives

- [raw-loader](https://npm.io/package/raw-loader.md) — 4.3M weekly downloads
- [plop](https://npm.io/package/plop.md) — 1.4M weekly downloads
- [webpack-deadcode-plugin](https://npm.io/package/webpack-deadcode-plugin.md) — 80.3K weekly downloads
- [@storybook/preact-vite](https://npm.io/package/@storybook/preact-vite.md) — 54.2K weekly downloads
- [vite-plugin-transform](https://npm.io/package/vite-plugin-transform.md) — 2.4K weekly downloads

## Recent versions

- 6.0.49 (latest) — 2022-06-09
- 6.0.0-beta.17 (next) — 2020-12-10
- 6.0.48 — 2022-06-04
- 6.0.47 — 2022-06-04
- 6.0.46 — 2022-06-03
- 6.0.45 — 2022-06-03
- 6.0.44 — 2022-05-31
- 6.0.43 — 2022-02-18
- 6.0.42 — 2022-02-12
- 6.0.41 — 2022-01-18
- 6.0.40 — 2022-01-18
- 6.0.39 — 2021-11-08
- 6.0.38 — 2021-11-08
- 6.0.37 — 2021-10-29
- 6.0.36 — 2021-10-28
- … 194 more at https://npm.io/package/laravel-mix/versions

## README

<p align="center"><img src="https://laravel.com/assets/img/components/logo-mix.svg" alt="Laravel Mix"></p>

<p align="center">
<a href="https://www.npmjs.com/package/laravel-mix"><img src="https://img.shields.io/node/v/laravel-mix.svg" alt="Node"></a>
<a href="https://www.npmjs.com/package/laravel-mix"><img src="https://img.shields.io/npm/v/laravel-mix.svg" alt="NPM"></a>
<a href="https://npmcharts.com/compare/laravel-mix?minimal=true"><img src="https://img.shields.io/npm/dt/laravel-mix.svg" alt="NPM"></a>
<a href="https://www.npmjs.com/package/laravel-mix"><img src="https://img.shields.io/npm/l/laravel-mix.svg" alt="NPM"></a>
</p>

## Introduction

![Laravel Mix thumbnail](https://repository-images.githubusercontent.com/76991633/43a4fe80-025e-11eb-8b88-bf742e4412a7)


Laravel Mix provides a clean, fluent API for defining basic [webpack](http://github.com/webpack/webpack) build steps for your applications. Mix supports several common CSS and JavaScript pre-processors.

If you've ever been confused about how to get started with module bundling and asset compilation, you will love Laravel Mix!

## Documentation

You may review the initial documentation [here](docs/).

## License

Laravel Mix is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).

---
_Source: https://npm.io/package/laravel-mix · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
