egoist / codepan

Like codepen and jsbin but works offline.
https://codepan.egoist.sh
MIT License
1.18k stars 178 forks source link

Example of adding PostCSS plugins? #65

Open gavinmcfarland opened 6 years ago

gavinmcfarland commented 6 years ago

Hello. I've tried to get codepan working with PostCSS plugins but I'm not sure how to configure it.

I tried adding a postcss.config.js file:

module.exports = {
  plugins: {
    'autoprefixer': {},
  }
}

but nothing happens so I think maybe I'm not configuring it correctly?

Do you have an example of adding a plugin?

Many thanks!

saiqulhaq commented 5 years ago

@mindthetic maybe this one https://github.com/egoist/codepan/commit/79755674611b7e7a0d7b7b21bf745add9505de6d