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();