-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathwebpack.mix.js
25 lines (23 loc) · 1.13 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
22
23
24
25
// Javascript dependencies are compiled with Laravel Mix https://laravel.com/docs/5.5/mix
let mix = require('laravel-mix');
mix
.sass('resources/css/main.scss', 'themes/theme_brand_central/css')
.options({
processCssUrls: false
})
.js('resources/js/main.js', 'themes/theme_brand_central/js')
.js('resources/js/asset-download.js', 'themes/theme_brand_central/js')
.js('resources/js/collection-download.js', 'themes/theme_brand_central/js')
.react('resources/react-app/asset/asset.js', 'themes/theme_brand_central/js')
.react('resources/react-app/lightboxes/lightbox.js', 'themes/theme_brand_central/js')
.copy('node_modules/bootstrap/dist/js/bootstrap.bundle.min.js', 'themes/theme_brand_central/js/bootstrap.js')
.copy('node_modules/pdfobject/pdfobject.min.js', 'themes/theme_brand_central/js/pdfobject.js');
// Other options:
// mix.sass, mix.js, mix.scripts, mix.stylus, mix.styles, mix.react, mix.webpackConfig, mix.copy, mix.copyDirectory,
// mix.browserSync, mix.disableNotifications
//
// Optional modifiers
// mix.js(...).version(), mix.js(...).extract(...)
//
// Accessing Info
// mix.inProduction()