定制 oliverthiele/ot-febuild 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

oliverthiele/ot-febuild

Composer 安装命令:

composer require oliverthiele/ot-febuild

包简介

FE Build - TYPO3 extension that serves as a target for frontend build output (e.g. from Webpack). No assets included.

README 文档

README

TYPO3 extension providing a dedicated deployment target for compiled frontend assets (CSS, JavaScript, fonts, SVG icons). No assets are included — the extension defines only the directory structure.

TYPO3 Packagist Version PHP License Changelog

Features

  • Keeps compiled assets separate from the sitepackage and its Git history
  • Assets resolvable via EXT:ot_febuild/Resources/Public/Assets/
  • Compatible with TYPO3 versionNumberInFilename for automatic cache busting
  • Public directory automatically symlinked to public/_assets/ by TYPO3
  • Works with any frontend build tool (Webpack, Vite, esbuild, etc.)

Requirements

Requirement Version
PHP >=8.3
TYPO3 any

Installation

composer require oliverthiele/ot-febuild

Configuration

Build Output

Point your build tool's output directory to the extension's public assets path:

vendor/oliverthiele/ot-febuild/Resources/Public/Assets/

Expected directory layout after a build:

Resources/Public/Assets/
├── Fonts/
├── JavaScript/
├── Styles/
└── Website/
    ├── Icons/
    ├── Logos/
    └── SVG/

TypoScript

Include the compiled CSS and JavaScript in your page TypoScript:

page {
    includeCSS.main = EXT:ot_febuild/Resources/Public/Assets/Styles/Main.css
    includeJSFooter.main = EXT:ot_febuild/Resources/Public/Assets/JavaScript/Main.js
}

Usage

Webpack Example

Configure the Webpack output path to write directly into the extension:

output: {
    path: path.resolve(__dirname, 'vendor/oliverthiele/ot-febuild/Resources/Public/Assets'),
}

Deployment via rsync

Sync compiled assets from a local DDEV environment to a remote server:

rsync -avzP -e 'ssh -p 22' \
    vendor/oliverthiele/ot-febuild/Resources/Public/Assets/ \
    user@example.com:/path/to/project/packages/ot_febuild/Resources/Public/Assets/

License

GPL-2.0-or-later — © Oliver Thiele

统计信息

  • 总下载量: 297
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2025-06-05

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固