Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pug-plugin

Package Overview
Dependencies
Maintainers
1
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pug-plugin - npm Package Versions

1
9

2.4.0

Diff

Changelog

Source

2.4.0 (2022-05-17)

  • feat: add supports for pug filters :code and :highlight
  • chore: update pug-loader
webdiscus
published 2.3.1 •

Changelog

Source

2.3.1 (2022-05-11)

  • fix: support resolving npm modules in pug template
webdiscus
published 2.3.0 •

Changelog

Source

2.3.0 (2022-05-09)

  • feat: add supports for module type asset/inline the inline SVG in HTML and data-URL for binary images
  • feat: add supports for module type asset/inline the utf8 encoding for SVG data-URL in CSS
  • feat: add supports for module type asset to automatically choose between resource and inline
  • chor: new hello world web app example
  • test: add tests for module types asset/inline and asset
webdiscus
published 2.2.0 •

Changelog

Source

2.2.0 (2022-04-21)

  • feat: add the pretty option to format the resulting HTML
webdiscus
published 2.1.1 •

Changelog

Source

2.1.1 (2022-04-20)

  • fix: issue of resolving the js split chunks in generated html
  • test: add new test for usage the pug plugin with the responsive-loader
  • refactor: code refactoring
  • docs: update readme
webdiscus
published 2.1.0 •

Changelog

Source

2.1.0 (2022-04-18)

  • feat: add supports the responsive-loader
  • feat: caching of an already processed asset when the same asset is required in different issuer files
  • fix: conflict of multiple styles with the same filename
  • fix: resolving url() in styles required in pug
  • fix: missing js file after rebuild by webpack serv
  • fix: potential collision when resolving resources for compile method
  • test: caching for styles required with the same name
webdiscus
published 2.1.0-alpha.0 •

webdiscus
published 2.0.1 •

Changelog

Source

2.0.1 (2022-04-03)

  • fix: incorrect output directory for a module if the option outputPath was relative
  • docs: update readme
webdiscus
published 2.0.0 •

Changelog

Source

2.0.0 (2022-04-01)

  • feat: add supports the require() of the javascript source files directly in pug.
    It is no longer necessary to define a js file in webpack entrypoint.
    For example, using the pug-plugin now is possible usage of source js files in pug:
    script(src=require('./main.js'))
    
    Generated HTML:
    <script src='/assets/js/main.1234abcd.js'></script>
    
  • feat: add support a function in loader option data for compile method
webdiscus
published 1.5.0 •

Changelog

Source

1.5.0 (2022-03-06)

  • feat: update pug-loader to v1.8.0 containing the resolving and watching improvements
  • chore: update npm packages
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc