0.1.11 • Published 2 years ago

@mahpooya/laravel-mix-clean v0.1.11

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@mahpooya/laravel-mix-clean

Latest Version on NPM npm Software License

This extension adds support for clean-webpack-plugin to Laravel Mix.

Installation

npm i -D @mahpooya/laravel-mix-clean

Usage

Require the extension inside your webpack.mix.js and add clean configurations like this:

const mix = require('@mahpooya/laravel-mix');

require('@mahpooya/laravel-mix-clean');

mix
  .sass('src/app.scss', 'dist')
  .sass('src/app.sass', 'dist')
  .less('src/app.less', 'dist')
  .stylus('src/app.styl', 'dist')

  // Run default output cleaning
  .clean()

  // Run clean with
  .clean({
    // ...options
  })

For more information about clean-webpack-plugin configurations please refer to their documentation.

0.1.11

2 years ago

0.1.9

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago