willyelm / pug-html-loader

Pug HTML loader for webpack

Home Page:https://github.com/willyelm/pug-html-loader

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Breaking changes in 1.1.1?

rbren opened this issue · comments

First - thanks for making/maintaining this!

Unfortunately my build broke when Travis pulled in v1.1.1 this morning. I'd consider unpublishing/deprecating and publishing as a major release.

Regardless, figured I'd post and close an issue here in case anyone else runs into the same problem. I just had to change my webpack.config.js from:

{
      test: /\.pug$/,
      loader: 'pug-html-loader',
      query: { doctype: 'html', plugins: ['pug-plugin-ng'] },
},

to:

{
      test: /\.pug$/,
      loader: ['raw-loader', 'pug-html-loader?doctype=html&plugins=pug-plugin-ng'],
 },