Skip to content
This repository has been archived by the owner on Mar 18, 2022. It is now read-only.

Commit

Permalink
add .pug to valid view extention
Browse files Browse the repository at this point in the history
  • Loading branch information
gagalago committed Jun 9, 2016
1 parent 3175389 commit 18bffde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/main.js
Expand Up @@ -572,7 +572,7 @@ var CDN = function(app, options, callback) {
results = [],
regexCDN = /CDN\(((\([^)]+\)|[^)])+)\)/ig;
walker.on('file', function(root, stat, next) {
var validExts = options.extensions || ['.jade', '.ejs'];
var validExts = options.extensions || ['.jade', '.ejs', '.pug'];
var ext = path.extname(stat.name), text;

if (_.indexOf(validExts, ext) !== -1) {
Expand Down

0 comments on commit 18bffde

Please sign in to comment.