1234567891011121314151617 |
- let mix = require('laravel-mix');
- require('mix-tailwindcss');
- const extension = mix.inProduction() ? '.min' : '';
- mix.js('js/main.js', `js/main${extension}.js`)
- .css('css/site.css', `css/site${extension}.css`)
- .tailwind()
- .setPublicPath('dist')
- .version()
- // .browserSync({
- // proxy: 'http://domain.test',
- // files: [
- // './dist/mix-manifest.json',
- // '../../pages/**/*.md'
- // ]
- // })
|