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

4.5.1

Diff

Changelog

Source

4.5.1 (2022-12-26)

  • fix: generate correct script asset filename by HMR after changes, sometimes filenames are mixed up between files
  • fix: passing data in loader option when the self loader option is true in the compile method
  • refactor: optimize code
  • docs: update readme
  • chore: update GitHub workflows
webdiscus
published 4.5.0 •

Changelog

Source

4.5.0 (2022-10-20)

  • feat: add resolving url() in inlined CSS using the ?inline query
    USAGE CHANGES since v4.4.0
    Pug template
    //- to inline CSS use exact the `?inline` query
    style=require('./styles.scss?inline')
    
    use Webpack config without the type asset/source
    {
      test: /\.(css|sass|scss)$/,
      use: ['css-loader', 'sass-loader'],
    }
    
  • fix: source map in inlined CSS
  • docs: update readme
webdiscus
published 4.4.0 •

Changelog

Source

4.4.0 (2022-10-17)

  • feat: add support for the inline CSS w/o supporting of url()
webdiscus
published 4.3.4 •

Changelog

Source

4.3.4 (2022-10-13)

  • fix: set default value of output.path as path.join(__dirname, 'dist')
  • fix: set default value of output.filename as [name].js
webdiscus
published 4.3.3 •

Changelog

Source

4.3.3 (2022-10-11)

  • fix: resolving of assets in pug templates with an url query
  • chore: add example for usage multi-language pages with i18next
  • chore: update pug-loader
  • chore: update dev dependencies
webdiscus
published 4.3.2 •

Changelog

Source

4.3.2 (2022-09-11)

  • fix: resolving of modules whose package.json contains exports field
  • chore: update pug-loader
  • chore: update dev dependencies
webdiscus
published 4.3.1 •

Changelog

Source

4.3.1 (2022-09-08)

  • fix: fixed last stable version of ansis in dependency
webdiscus
published 4.3.0 •

Changelog

Source

4.3.0 (2022-09-03)

  • feat: add resolving for require in Pug conditional
  • feat: add resolving for require in Pug mixin argument
  • feat: add resolving for require in Pug each in and in each of iteration object
  • fix: resolve outdated asset filenames after rebuild via webpack dev server, #42
  • chore: remove warning 'scripts and styles should be specified in Pug'
  • chore: update pug-loader
  • chore: update dev dependencies
webdiscus
published 4.2.0 •

Changelog

Source

4.2.0 (2022-08-22)

  • feat: display details verbose data for extracted CSS, images, data-URL, inline SVG, etc.
  • fix: fix info.filename property of postprocess() argument for pug files
  • fix: prevents webpack generating needless alternative requests for pug files
    to avoid double compiling some pug files containing the require() function
  • fix: the entry filename as a function is replaced by the resolved asset name to avoid redundant calling of the filename function by access to the filename property
  • refactor: optimize Webpack hook functions
  • refactor: optimize resolving and improve performance
  • refactor: optimize verbose output
  • test: add test for using pug-plugin with svgo-loader
webdiscus
published 4.1.1 •

Changelog

Source

4.1.1 (2022-08-12)

  • fix: resolve style in Pug from node_modules by module name, e.g.: link(href=require('bootstrap') rel='stylesheet')
  • fix: avoids generating a needless runtime code of css-loader in user js file when specified both style and script with using splitChunks
  • chore: update pug-loader
  • test: reduce test fixtures size and test time
  • docs: update readme
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