%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/hrsys/api/vendor/facade/ignition/
Upload File :
Create Path :
Current File : /var/www/html/hrsys/api/vendor/facade/ignition/postcss.config.js

const purgecss = require('@fullhuman/postcss-purgecss');

module.exports = {
    plugins: [
        require('postcss-import'),
        require('tailwindcss')('./tailwind.config.js'),
        require('postcss-preset-env')(),
        process.env.NODE_ENV === 'production'
            ? purgecss({
                  content: [
                      './resources/js/**/*.js',
                      './resources/js/**/*.vue',
                      './resources/views/errorPage.php',
                  ],
                  extractors: [
                      {
                          extractor: class {
                              static extract(content) {
                                  return content.match(/[a-zA-Z0-9-:_/]+/g) || [];
                              }
                          },
                          extensions: ['js', 'php', 'vue'],
                      },
                  ],
                  whitelistPatterns: [/hljs/, /sf-dump/, /theme-dark/, /theme-auto/],
              })
            : '',
    ],
};

Zerion Mini Shell 1.0