Skip to content

Instantly share code, notes, and snippets.

@zippaaa
Created November 16, 2018 21:05
Show Gist options
  • Select an option

  • Save zippaaa/783403261fa8eda11a98456b27135a06 to your computer and use it in GitHub Desktop.

Select an option

Save zippaaa/783403261fa8eda11a98456b27135a06 to your computer and use it in GitHub Desktop.
//webpack.mix.js
const mix = require('laravel-mix');
/*
|--------------------------------------------------------------------------
| Mix Asset Management
|--------------------------------------------------------------------------
|
*/
let babel = Config.babel();
Config.babel = () => {
babel.presets = ['es2017'];
return babel;
};
//.....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment