text: let mix = require('laravel-mix');
  let tailwind = require('tailwindcss');
  let build = require('./tasks/build.js');
  require('laravel-mix-purgecss');
  
  mix.setPublicPath('source/assets/');
  mix.webpackConfig({
    plugins: [
      build.jigsaw,
      build.browserSync(),
      build.watch(['source/**/*.md', 'source/**/*.php', 'source/_assets/**/*', '!source/**/_tmp/*', '!source/assets/**/*']),
    ]
  });
  
  mix.options({
      processCssUrls: false,
      postCss: [
        require('postcss-import'),
        tailwind(),
      ]
    })
    .postCss('source/_assets/css/main.css', 'css/main.css')
    .js('source/_assets/js/main.js', 'js')
    .purgeCss({
      folders: ['source'],
    })
    .version();
  