-
Notifications
You must be signed in to change notification settings - Fork 1
/
webpack.mix.js
23 lines (19 loc) · 963 Bytes
/
webpack.mix.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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 your application, as well as bundling up your JS files.
|
*/
/** Styles / Scripts for Bookmark Manager Backend */
mix.js(['resources/js/admin/app.js', 'resources/js/admin/carbon-field.js'], 'public/js/admin.js')
.sass('resources/scss/admin/app.scss', 'public/css/admin.css');
/** Styles / Scripts for Bookmarklet Screen */
mix.js('resources/js/bookmarklet/app.js', 'public/js/bookmarklet.js')
.sass('resources/scss/bookmarklet/style.scss', 'public/css/bookmarklet.css');
/** The actual bookmarklet script */
mix.js('resources/js/bookmarklet/bookmark-this.js', 'public/js');