Giter VIP home page Giter VIP logo

elixir's Introduction

Laravel Elixir

Introduction

Laravel Elixir provides a clean, fluent API for defining basic Gulp tasks for your Laravel application. Elixir supports several common CSS and JavaScript pre-processors, and even testing tools.

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

Official Documentation

Documentation for Elixir can be found on the Laravel website.

License

Laravel Elixir is open-sourced software licensed under the MIT license

Changelog

5.0.0

  • Added support for overriding the default Uglify configuration.
  • Fixed an issue where passing a negated path (to ignore a file) causes an assertion here.
  • In order to allow Watchify to use the Browserify cache for fast rebuilds, default cache and packageCache configuration options have been added.
  • Breaking: Removed gulp-phpunit and gulp-phpspec, in favor of piping to a simple shell script. If you are running mix.phpUnit() or mix.phpSpec(), please note the argument adjustment: mix.phpUnit(src, command) and mix.phpSpec(src, command), respectively.

4.2.1

  • Remove all unsafe optimizations performed by the cssnano plugin. You may re-enable these by updating your config: Elixir.config.css.cssnano.pluginOptions.safe = false.

4.2

  • Added mix.exec(command, watchPath) method. If you've ever needed to trigger a shell command as part of your compile process, you'll be happy to see this. Try out mix.exec('say "Hello there"') for an example.
  • Swapped out the "gulp-minify-css" plugin (now deprecated) with the recommended "gulp-cssnano". If you were manually overriding any Elixir options for "gulp-minify-css", please update them for "gulp-cssnano". This likely won't affect you otherwise.

4.1

  • Added mix.combine([src], outputPath) method. This is useful in the instance where you want to concatenate an array of files, without running any unnecessary and slow compilation (Uglify, Sourcemaps, etc.). You'll frequently use this for combining pre-minified libraries and such.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.