20 lines
432 B
JavaScript
20 lines
432 B
JavaScript
const url = require("postcss-url");
|
|
const imports = require("postcss-import");
|
|
const nested = require("postcss-nested");
|
|
const postCSSPresetEnv = require("postcss-preset-env");
|
|
const browsers = require("browserslist");
|
|
const cssnano = require("cssnano");
|
|
|
|
module.exports = () => ({
|
|
plugins: [
|
|
url,
|
|
imports,
|
|
nested,
|
|
postCSSPresetEnv({
|
|
stage: 1,
|
|
}),
|
|
cssnano({
|
|
preset: "default",
|
|
}),
|
|
],
|
|
});
|