Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
dirnbauer avatar

Typo3 Vite

  • 14 installs
  • 33 repo stars
  • Updated July 27, 2026
  • dirnbauer/webconsulting-skills

Set up a Vite 7 asset pipeline for TYPO3 v13/v14 with per-content-element entrypoints, Bootstrap theming, and PostCSS optimization.

About

This skill configures Vite 7 for TYPO3 v13/v14 projects with SCSS architecture, Bootstrap 5.3 theming, and per-content-element entrypoints. A developer uses it to build a production asset pipeline since v14 removed core asset concatenation and compression.

  • Vite 7 asset pipeline for TYPO3 v13/v14 with vite-asset-collector
  • Entrypoint-per-content-element splitting and selective Bootstrap 5.3 imports

Typo3 Vite by the numbers

  • 14 all-time installs (skills.sh)
  • Ranked #958 of 1,435 DevOps & CI/CD skills by installs in the Skillselion catalog
  • Data as of Jul 29, 2026 (Skillselion catalog sync)
npx skills add https://github.com/dirnbauer/webconsulting-skills --skill typo3-vite

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs14
repo stars33
Last updatedJuly 27, 2026
Repositorydirnbauer/webconsulting-skills

What it does

Set up a Vite 7 asset pipeline for TYPO3 v13/v14 with per-content-element entrypoints, Bootstrap theming, and PostCSS optimization.

Files

SKILL.mdMarkdownGitHub ↗

TYPO3 Vite Skill

Vite 7 build configuration for TYPO3 v13 and v14 LTS sitepackage development with praetorius/vite-asset-collector. Current gold standard: v14.3 LTS (released 2026-04-21).

v14 context: TYPO3 v14.0 removed the core's built-in frontend CSS/JS concatenation and compression (Breaking #108055) and CSS comment/whitespace stripping (Breaking #107944). config.concatenateCss/compressCss/concatenateJs/compressJs no longer have any effect. An external build tool (Vite / webpack / esbuild) is required for production-grade asset handling on v14.

Key Concepts

Entrypoint-per-CE Pattern

Each content element gets its own Vite entrypoint (*.entry.ts) that imports its SCSS and TypeScript. This enables automatic code splitting -- only the CSS/JS needed for visible content elements is loaded.

Selective Bootstrap Imports

Never import Bootstrap as a whole. Import only the components you use (bootstrap/scss/grid, bootstrap/scss/buttons, etc.) to minimize CSS bundle size.

SVG Optimization

Custom SvgCopyOptimizePlugin processes SVGs from Resources/Private/Svg/ through SVGO and writes optimized files to Resources/Public/Svg/. Supports dev-mode file watching.

CSP Compliance

Assets loaded via <vite:asset> ViewHelper automatically get nonce attributes for Content Security Policy compliance. No inline <script> or <style> tags needed.

Technology Stack

LayerTechnology
BuildVite 7+ with praetorius/vite-asset-collector
CSSBootstrap 5.3+ (selective imports, custom theming)
PostCSSautoprefixer + cssnano (production)
SCSSModern Compiler API (api: 'modern-compiler')
SVGCustom SVGO plugin (SvgCopyOptimizePlugin)
CompressionGzip + Brotli (production)
Package Managernpm, pnpm, or yarn

References

  • references/vite-configuration.md -- Complete vite.config.ts, entrypoints, SVG plugin, CSP
  • references/scss-architecture.md -- SCSS folder structure, import chain, naming conventions, CSS units
  • references/bootstrap-theming.md -- Bootstrap variable customization per project

---

Credits & Attribution

This skill is based on the excellent work by [Netresearch DTT GmbH](https://www.netresearch.de/).

Original repository: https://github.com/netresearch/typo3-vite-skill

Copyright (c) Netresearch DTT GmbH — Methodology and best practices (MIT / CC-BY-SA-4.0)

Special thanks to Netresearch DTT GmbH for their generous open-source contributions to the TYPO3 community, which helped shape this skill collection. Adapted by webconsulting.at for this skill collection

Related skills

DevOps & CI/CDfrontenddevops

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.