Sha256: 8ae139bab92b1cf28665ec8b00003127172e46d72916068c5643e2d321caf012

Contents?: true

Size: 357 Bytes

Versions: 9

Compression:

Stored size: 357 Bytes

Contents

const config = {
  plugins: {
    'postcss-import': {},
    tailwindcss: {},
    autoprefixer: {}
  }
}

if (process.argv.includes("--dev")) {
  config.plugins['postcss-hash'] = {
    algorithm: 'sha256',
    trim: 20,
    manifest: './src/build/css.manifest'
  }
}
else {
  config.plugins['cssnano'] = {
    preset: 'default',
  }
}

export default config

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
plutonium-0.16.3 postcss.config.js
plutonium-0.16.1 postcss.config.js
plutonium-0.16.0 postcss.config.js
plutonium-0.15.24 postcss.config.js
plutonium-0.15.23 postcss.config.js
plutonium-0.15.22 postcss.config.js
plutonium-0.15.21 postcss.config.js
plutonium-0.15.20 postcss.config.js
plutonium-0.15.19 postcss.config.js