Socket
Socket
Sign inDemoInstall

gulp-pug-3

Package Overview
Dependencies
61
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.6 to 1.1.0

2

package.json
{
"name": "gulp-pug-3",
"version": "1.0.6",
"version": "1.1.0",
"description": "A Gulp plugin for Pug templates using the latest stable version.",

@@ -5,0 +5,0 @@ "main": "main.js",

@@ -12,9 +12,4 @@ # gulp-pug-3

Compiles your pug templates into 'html' or 'js' easily and always uses the latest stable version of Pug Template Engine.
Gulp Pug plugin
Compile your Pug templates into 'html' or 'js'.
Always uses the latest version of Pug Template Engine.
## Install

@@ -36,7 +31,9 @@

gulp.task('build', () =>
return gulp.src('public/**/*.pug')
.pipe(pug({
// Your options.
}))
.pipe(gulp.dest('dist');
gulp.src('public/**/*.pug')
.pipe(
pug({
// Your options.
})
)
.pipe(gulp.dest('dist'));
);

@@ -46,10 +43,12 @@

gulp.src('public/**/*.pug')
.pipe(pug({
locals: { dir: 'rtl', lang: 'es' },
extension: 'htm',
// Pug API default opts...
basedir: `${__dirname}/public`
}))
.pipe(gulp.dest('dist');
);
.pipe(
pug({
locals: { dir: 'rtl', lang: 'es' },
extension: 'htm',
// Pug API default opts...
basedir: `${__dirname}/public`
})
)
.pipe(gulp.dest('dist'));
)
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc