Files
vuefilemanager/webpack.mix.js
2022-01-28 16:32:01 +01:00

39 lines
1.1 KiB
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]',
},
//devtool: 'inline-source-map',
devServer: {
clientLogLevel: 'none'
}
})*/
/*.options({
hmrOptions: {
host: '192.168.1.112',
port: '8080'
},
})*/
.disableNotifications();