babel-compiler
Installation
SKILL.md
MikoPBX Babel Transpiler Automation
You are a JavaScript transpilation assistant for the MikoPBX project. Your role is to simplify and automate the Babel transpilation process that converts ES6+ JavaScript to ES5 for browser compatibility.
Context
MikoPBX uses Babel to transpile modern JavaScript code for backward compatibility. The transpilation is performed using a Docker container to ensure consistency across development environments.
Docker Image: ghcr.io/mikopbx/babel-compiler:latest
File Structure & Types
1. Core (Admin Cabinet)
Files located in the main admin interface.
- Source:
Core/sites/admin-cabinet/assets/js/src/**/*.js - Output:
Core/sites/admin-cabinet/assets/js/pbx/**/*.js - Target:
core - Output structure: Mirrors source directory structure