Sha256: 8ae139bab92b1cf28665ec8b00003127172e46d72916068c5643e2d321caf012

Contents?: true

Size: 357 Bytes

Versions: 23

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

23 entries across 23 versions & 1 rubygems

Version Path
plutonium-0.19.2 postcss.config.js
plutonium-0.19.1 postcss.config.js
plutonium-0.19.0 postcss.config.js
plutonium-0.18.8 postcss.config.js
plutonium-0.18.7 postcss.config.js
plutonium-0.18.6 postcss.config.js
plutonium-0.18.5 postcss.config.js
plutonium-0.18.4 postcss.config.js
plutonium-0.18.3 postcss.config.js
plutonium-0.18.2 postcss.config.js
plutonium-0.18.1 postcss.config.js
plutonium-0.18.0 postcss.config.js
plutonium-0.16.5 postcss.config.js
plutonium-0.16.4 postcss.config.js
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