Skip to content

Commit

Permalink
feat(presets/replacements): rollup terser plugin became scoped (#27929)
Browse files Browse the repository at this point in the history
  • Loading branch information
viceice committed Mar 14, 2024
1 parent 8fc50ca commit a4e90f9
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions lib/config/presets/internal/replacements.ts
Expand Up @@ -37,6 +37,7 @@ export const presets: Record<string, Preset> = {
'replacements:rollup-babel-to-scoped',
'replacements:rollup-json-to-scoped',
'replacements:rollup-node-resolve-to-scoped',
'replacements:rollup-terser-to-scoped',
'replacements:rome-to-biome',
'replacements:semantic-release-replace-plugin-to-unscoped',
'replacements:spectre-cli-to-spectre-console-cli',
Expand Down Expand Up @@ -823,6 +824,18 @@ export const presets: Record<string, Preset> = {
},
],
},
'rollup-terser-to-scoped': {
description: 'The terser plugin for rollup became scoped.',
packageRules: [
{
matchCurrentVersion: '>=7.0.0',
matchDatasources: ['npm'],
matchPackageNames: ['rollup-plugin-terser'],
replacementName: '@rollup/plugin-terser',
replacementVersion: '0.1.0',
},
],
},
'rome-to-biome': {
description:
'The Rome repository is archived, and Biome is the community replacement. Read [the Biome announcement](https://biomejs.dev/blog/annoucing-biome/) for migration instructions.',
Expand Down

0 comments on commit a4e90f9

Please sign in to comment.