Closed youzi closed 8 years ago
yeah I originally had filePlugins
and plugin
, but I also thought we might want to find something better... I'll think about it.
The transform version is the new #master, replacing the plugin approach I originally had.
The rest of this issue is covered in #2 so I'm closing this one
We have a work-in-progress version of the postcssify transform in feature/transform.
The transform attempts to handle everything within the scope of the transform, without needing using the transform globally or needing a separate plugin.
It tracks all the files that the transform is applied on and attempts to bundle when all files have been parsed/ handled.
We are now at a stage where we can make this transform really sweet by adding some nice options. Options I'm thinking about:
output
define where to leave the output (iftrue
inject?)plugins
define plugins to apply on each file (separately)bundlePlugins
define plugins to apply on the entire bundleNot sure about the keys for the options (especially
bundlePlugins
ofc)/cc @vigour-io/front-end @shawninder