Skip to content
Merged
Show file tree
Hide file tree
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: 0 additions & 5 deletions .changeset/css-minimizer-options.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/html-plugins-to-native-html.md

This file was deleted.

6 changes: 6 additions & 0 deletions codemods/css-plugins-to-native-css/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @webpack/css-plugins-to-native-css

## 1.0.1

### Patch Changes

- ca16efc: Migrate supported css-minimizer-webpack-plugin options from cssnano's default preset to webpack's native CSS minifier. Preserve the build's minimize switch, other asset types, custom minimizers, and compatible native settings; retain unsupported or conflicting configurations for manual migration.

## 1.0.0

### Major Changes
Expand Down
2 changes: 1 addition & 1 deletion codemods/css-plugins-to-native-css/codemod.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
schema_version: "1.0"
name: "@webpack/css-plugins-to-native-css"
version: "1.0.0"
version: "1.0.1"
description: Migrate CSS plugins, loaders, and supported css-minimizer-webpack-plugin options to webpack's native CSS support and minification
author: bjohansebas (Sebastian Beltran)
license: MIT
Expand Down
2 changes: 1 addition & 1 deletion codemods/css-plugins-to-native-css/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@webpack/css-plugins-to-native-css",
"private": true,
"version": "1.0.0",
"version": "1.0.1",
"description": "Migrate CSS plugins, loaders, and supported css-minimizer-webpack-plugin options to webpack's native CSS support and minification.",
"type": "module",
"scripts": {
Expand Down
9 changes: 9 additions & 0 deletions codemods/html-plugins-to-native-html/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# @webpack/html-plugins-to-native-html

## 1.0.0

### Major Changes

- 5c0f0a1: Add a codemod migrating html-webpack-plugin and html-loader to webpack 5.112.0+ native HTML support and minification. Translate supported minification options, preserve existing configuration and still-used dependencies, and leave unsupported template/multi-page setups for manual migration.

Apply template and dependency changes through AST workflow steps coordinated by shared state, without filesystem APIs or permissions; preserve dry-run behavior and idempotence.
2 changes: 1 addition & 1 deletion codemods/html-plugins-to-native-html/codemod.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
schema_version: "1.0"
name: "@webpack/html-plugins-to-native-html"
version: "0.0.0"
version: "1.0.0"
description: Migrate html-webpack-plugin and html-loader to webpack's native HTML support and minification
author: bjohansebas (Sebastian Beltran)
license: MIT
Expand Down
2 changes: 1 addition & 1 deletion codemods/html-plugins-to-native-html/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@webpack/html-plugins-to-native-html",
"private": true,
"version": "0.0.0",
"version": "1.0.0",
"type": "module",
"scripts": {
"test": "npm run test:workflow && npm run test:templates && npm run test:dependencies && npm run test:integration",
Expand Down