0.0.8 • Published 3 years ago

esbuild-plugin-pug v0.0.8

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

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));
0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago