Heimdall/webpack.mix.js

33 lines
960 B
JavaScript
Raw Normal View History

2022-11-26 13:35:36 +00:00
const mix = require("laravel-mix");
2018-01-26 14:35:01 +00:00
/*
|--------------------------------------------------------------------------
| 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.
|
*/
2022-11-26 13:35:36 +00:00
mix
.babel(
[
"node_modules/sortablejs/Sortable.min.js",
2023-02-04 19:34:49 +00:00
"resources/assets/js/jquery-ui.min.js",
2022-11-26 13:35:36 +00:00
"resources/assets/js/huebee.js",
"resources/assets/js/app.js",
"resources/assets/js/keyBindings.js",
"resources/assets/js/itemExport.js",
"resources/assets/js/itemImport.js",
"resources/assets/js/liveStatRefresh.js",
2022-11-26 13:35:36 +00:00
],
"public/js/app.js"
)
.sass("resources/assets/sass/app.scss", "public/css")
.options({
processCssUrls: false,
})
.version();