Skip to content

Commit

Permalink
build: Automate css copyright date
Browse files Browse the repository at this point in the history
  • Loading branch information
anicholls committed Apr 15, 2020
1 parent 606cfe3 commit 9fa55a0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .postcssrc.js
@@ -1,11 +1,13 @@
const date = new Date();

module.exports = {
map: true,
plugins: {
'postcss-discard-duplicates': {},
autoprefixer: {},
'css-mqpacker': {},
'postcss-banner': {
banner: 'Copyright 2020 Workday, Inc.',
banner: `Copyright 2019-${date.getFullYear()} Workday, Inc.`,
},
'postcss-inline-svg': {},
},
Expand Down

0 comments on commit 9fa55a0

Please sign in to comment.