Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions dev-packages/rollup-utils/plugins/npmPlugins.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,8 @@ export function makeDebuggerPlugin(hookName) {
*/
export function makeCleanupPlugin() {
return cleanup({
// line endings are unix-ized by default
comments: 'all', // comments to keep
compactComments: 'false', // don't remove blank lines in multi-line comments
// Keep comments containing `Copyright` and `@license`
comments: ['license', /Copyright/],
maxEmptyLines: 1,
extensions: ['js', 'jsx', 'ts', 'tsx'],
});
Expand Down
Loading