Skip to content

chore: remove @griffel/webpack-extraction-plugin and @griffel/webpack-loader#809

Draft
layershifter wants to merge 5 commits intomicrosoft:mainfrom
layershifter:refactor/remove-webpack-extraction-plugin-loader
Draft

chore: remove @griffel/webpack-extraction-plugin and @griffel/webpack-loader#809
layershifter wants to merge 5 commits intomicrosoft:mainfrom
layershifter:refactor/remove-webpack-extraction-plugin-loader

Conversation

@layershifter
Copy link
Member

Summary

  • Remove @griffel/webpack-extraction-plugin and @griffel/webpack-loader packages, superseded by @griffel/webpack-plugin
  • Update all references in e2e tests (nextjs, rspack), READMEs, tsconfig paths, copilot instructions, and error messages

Test plan

  • Verify nx run-many -t build still works without these packages
  • Verify e2e-nextjs test passes with @griffel/webpack-plugin/loader

🤖 Generated with Claude Code

layershifter and others added 5 commits March 11, 2026 17:21
…o @nx/js:tsc

Replace @nx/vite:build with @nx/js:tsc executor for these three packages.
This uses the TypeScript compiler directly instead of bundling via Rollup,
producing individual output files matching the source structure.

- Update project.json build targets to use @nx/js:tsc
- Update package.json exports to use "default" condition (compatible with bundler resolution)
- Add module: "ESNext" + moduleResolution: "bundler" to tsconfig.lib.json
- Delete vite.config.ts (was build+test), create vitest.config.mts (test-only)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…_RSPACK branches

Switch e2e-rspack from deprecated @griffel/webpack-extraction-plugin + @griffel/webpack-loader
to the unified @griffel/webpack-plugin. Remove unnecessary IS_RSPACK conditionals in the plugin
and loader now that Rspack supports NormalModule.getCompilationHooks and namedChunks.get().

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace all references to @griffel/webpack-loader and
@griffel/webpack-extraction-plugin with the unified @griffel/webpack-plugin
in the ahead-of-time compilation and CSS extraction docs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Remove the package and all references from tsconfig paths, copilot
instructions, and website documentation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…-loader

These packages are superseded by the unified @griffel/webpack-plugin.
Updates all references in e2e tests, READMEs, tsconfig paths, and
copilot instructions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant