UNPKG

@ckeditor/ckeditor5-dev-utils

Version:
24 lines (20 loc) 500 B
/** * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md. */ 'use strict'; /** * A plugin that prepends a path to the file in the comment for each file * processed by PostCSS. * * @returns {Function} A PostCSS plugin. */ module.exports = () => { return { postcssPlugin: 'postcss-ckeditor5-theme-logger', Once( root ) { root.prepend( `/* ${ root.source.input.file } */ \n` ); } }; }; module.exports.postcss = true;