Skip to content

Commit

Permalink
refactor: use OnceExit instead of Once
Browse files Browse the repository at this point in the history
ref #5
  • Loading branch information
ziodave committed Nov 6, 2022
1 parent e65057c commit e3e4fbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module.exports = (options = {}) => {

return {
postcssPlugin: 'postcss-header',
Once(root) {
OnceExit(root) {
const header = options.header || options.banner;

if (header) {
Expand Down

0 comments on commit e3e4fbd

Please sign in to comment.