README
Wds Plugin Postcss • A CSS loader plugin for the Web Dev Server that uses postcss as preprocessor.
⚠️ The development of this plugin has been suspended as it has been replaced by another plugin in the RNA ecosystem, but it can be a reference for other developers.
Install
$ npm i @chialab/wds-plugin-postcss -D
$ yarn add @chialab/wds-plugin-postcss -D
Usage
import { startDevServer } from '@web/dev-server';
import { cssPlugin } from '@chialab/wds-plugin-postcss';
await startDevServer({
plugins: [
cssPlugin(),
],
});
This plugin looks for a postcss configuration in the project, otherwise it just rebase url references with the node resolve algorithm.
License
Wds Plugin Postcss is released under the MIT license.