{"library":"parcel-plugin-pug","title":"parcel-plugin-pug","description":"Pug template support for Parcel bundler. Current stable version is 0.3.1. Maintenance mode: last release 2020, Parcel v1 only. Handles .pug and .jade files, resolves includes/extended templates and assets inside files. Requires Parcel 1.x, not compatible with Parcel v2.","language":"javascript","status":"maintenance","last_verified":"Sat Apr 25","install":{"commands":["npm install parcel-plugin-pug"],"cli":null},"imports":["Install and use via Parcel (no explicit import needed)","const PugAsset = require('parcel-plugin-pug/src/Asset')","module.exports = require('parcel-plugin-pug')"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"// Install Parcel v1 and plugin\nnpm install -D parcel-bundler@1 parcel-plugin-pug\n\n// Create index.pug:\ndoctype html\nhtml\n  head\n    title Parcel + Pug\n  body\n    h1 Hello World\n    p This is a Pug template bundled with Parcel.\n    img(src=\"image.jpg\" alt=\"test\")\n\n// Run:\n// npx parcel index.pug\n// Opens localhost:1234 with compiled HTML.","lang":"javascript","description":"Shows minimal setup with Parcel v1, including a .pug file with asset reference and build command.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}