Skip to content

Commit

Permalink
config(postcss): add postcss-banner plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
sherwinski authored and sherwinski committed Jul 13, 2021
1 parent 620ffa5 commit 0c5db35
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions postcss.config.js
@@ -1,7 +1,14 @@
const licenseBanner = require("./build/banner");

module.exports = {
plugins: [
require("cssnano")({
preset: "advanced"
})
,
require("postcss-banner")({
banner: licenseBanner,
important: true
})
]
};

0 comments on commit 0c5db35

Please sign in to comment.