bkardell/CssPlugin — Issue #1: integrate adapter with parser
Author: bkardell
Created: 2011-12-03 15:28:42+00:00
State: open

The current model seperates the engine from the compiler and provides a way to use them with or without the adapter for interpreted mode. This leaves a lot of configuration complexity between different ways you might use things.

Let's just simplify that so that the adapter goes with the compiler. There is really no reason to assume that if you are parsing css you wouldn't want some xhr to fetch imports. The same should simplify the process of compiling by showing the connectedness. Currently the compiler requires you to engage the filter files before trying to compile... This is silly because that could easily be in the css and that means it would be the same approach whether you were on the client or server.

As a vendor we could easily add at rules:

@-plugin-require url('myPlugins.css');