Files
vuefilemanager/webpack.mix.js
Čarodej 5d15f3da51 build
2022-03-20 19:02:34 +01:00

35 lines
986 B
JavaScript
Vendored

const mix = require('laravel-mix');
/*
|--------------------------------------------------------------------------
| Mix Asset Management
|--------------------------------------------------------------------------
|
| Mix provides a clean, fluent API for defining some Webpack build steps
| for your Laravel applications. By default, we are compiling the CSS
| file for the application as well as bundling up all the JS files.
|
*/
mix
.js('resources/js/main.js', 'public/js')
.vue()
.sass('resources/sass/app.scss', 'public/css/app.css', {
implementation: require('node-sass')
})
.postCss("resources/css/tailwind.css", "public/css/tailwind.css", [
require("tailwindcss"),
])
.webpackConfig({
output: {
chunkFilename: '[name].js?id=[chunkhash]',
}
})
/*.options({
hmrOptions: {
host: '192.168.1.112',
port: '8080'
},
})*/
.disableNotifications();