{"library":"pug-loader","type":"library","category":null,"description":"Webpack loader for Pug (formerly Jade) templates, version 2.4.0. Compiles Pug templates to JavaScript template functions at build time. Works with webpack module bundler, supports embedded resources via require(), and can render HTML at compile time using apply-loader. Supports both .pug and legacy .jade files. Options map directly to Pug options. Requires pug ^2.0.0 as a peer dependency. A key differentiator is automatic resolution of includes and inheritance via webpack's module resolution.","language":"javascript","status":"active","version":"2.4.0","tags":["javascript"],"install":[{"cmd":"npm install pug-loader","imports":["module.exports = { ... config: { module: { rules: [ { test: /\\.pug$/, loader: 'pug-loader' } ] } } }","var template = require('pug-loader!./file.pug');","var html = require('apply-loader!pug-loader!./file.pug');"]},{"cmd":"yarn add pug-loader","imports":[]},{"cmd":"pnpm add pug-loader","imports":[]}],"homepage":null,"github":"https://github.com/pugjs/pug-loader","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/pug-loader","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/pug-loader/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Fri Jul 24","install_tag":null}}