Skip to content

v2.2.0

Compare
Choose a tag to compare
@webdiscus webdiscus released this 22 Apr 13:59
· 80 commits to master since this release

Features

  • add support for usage the js source files directly in pug, instead of define them in webpack entry
  • add the pretty option to format the resulting HTML
  • add support for responsive-loader to use a result of this loader in pug
  • improve passing data for compile method of pug-loader, now is possible pass an object contained a function
  • improve caching of an already processed same asset in different issuer files

Bugfixes

  • fix compatibility wit node 12
  • fix issue of resolving the js split chunks in generated html
  • 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 incorrect output directory for a module if the option outputPath was relative