forked from thedevdojo/voyager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
webpack.mix.js
19 lines (17 loc) · 965 Bytes
/
webpack.mix.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
let mix = require('laravel-mix');
/*
|--------------------------------------------------------------------------
| Mix Asset Management
|--------------------------------------------------------------------------
|
| Mix provides a clean, fluent API for defining some Webpack build steps
| for your Laravel application. By default, we are compiling the Sass
| file for the application as well as bundling up all the JS files.
|
*/
mix.options({ processCssUrls: false }).sass('resources/assets/sass/app.scss', 'publishable/assets/css', { implementation: require('node-sass') })
.js('resources/assets/js/app.js', 'publishable/assets/js').vue({ version: 2 })
.copy('node_modules/tinymce/skins', 'publishable/assets/js/skins')
.copy('resources/assets/js/skins', 'publishable/assets/js/skins')
.copy('node_modules/tinymce/themes/modern', 'publishable/assets/js/themes/modern')
.copy('node_modules/ace-builds/src-noconflict', 'publishable/assets/js/ace/libs');