mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
13 lines
338 B
TypeScript
13 lines
338 B
TypeScript
import * as postcss from 'postcss';
|
|
import nested = require('postcss-nested');
|
|
|
|
const withDefaultOptions: postcss.Transformer = nested();
|
|
const withCustomOptions: postcss.Transformer = nested({
|
|
bubble: ['phone'],
|
|
unwrap: ['phone'],
|
|
preserveEmpty: true
|
|
});
|
|
|
|
postcss().use(withDefaultOptions);
|
|
postcss().use(withCustomOptions);
|