asset-builder
Installation
SKILL.md
Asset Builder
Instructions
When working with CSS/JS assets for the login page:
- Source files location: Check
src/or project root - Build commands: Use npm scripts from package.json
- Output location:
dist/assets/ - Enqueue hook: Use
login_enqueue_scripts
Build Commands
| Command | Purpose |
|---|---|
npm run start |
Watch mode - rebuild on file changes |
npm run build |
Production build - minified assets |
npm run lint:js |
Lint JavaScript |
npm run lint:css |
Lint CSS |