🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

esbuild-plugin-pug

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

esbuild-plugin-pug

esbuild plugin to load jade/pug files

0.0.8
latest
Source
npm
Version published
Weekly downloads
24
-59.32%
Maintainers
1
Weekly downloads
 
Created
Source

esbuild-plugin-pug

Import plugin for pug (and jade) files for esbuild

Install

npm i -D esbuild-plugin-pug

Use

const pugPlugin = require('esbuild-plugin-pug');

require('esbuild')
  .build({
    entryPoints: ['src/index.ts'],
    bundle: true,
    platform: "node",
    outfile: 'built/pug.js',
    plugins: [
      pugPlugin()
    ],
  })
  .catch(() => process.exit(1));

Keywords

esbuild

FAQs

Package last updated on 19 Oct 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts