danguilherme / ng-cli-pug-loader

:sparkles: Angular schematics to add .pug to your project
GNU General Public License v3.0
56 stars 17 forks source link

ng-add-pug-loader.js file generated with errors #15

Closed antonpegov closed 5 years ago

antonpegov commented 5 years ago

After ng add ng-cli-pug-loader I've got this wrong formatted line:

const pugRules = ' { test: /\.(pug|jade)$/, exclude: /\.(include|partial)\.(pug|jade)$/, use: [ { loader: 'apply-loader' }, { loader: 'pug-loader' } ] }, { test: /\.(include|partial)\.(pug|jade)$/, loader: 'pug-loader' },';
danguilherme commented 5 years ago

This will be fixed after PR #14 is merged. Thanks for reporting!

danguilherme commented 5 years ago

Fixed in v0.1.7 (e819d9948209f163f8c397c8d321a5ef955135f0).