-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
/
webpack.mix.js
21 lines (19 loc) · 1.06 KB
/
webpack.mix.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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')
.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/silver', 'publishable/assets/js/themes/silver')
.copy('node_modules/tinymce/models/dom', 'publishable/assets/js/models/dom')
.copy('node_modules/tinymce/icons/default', 'publishable/assets/js/icons/default')
.copy('node_modules/ace-builds/src-noconflict', 'publishable/assets/js/ace/libs');