We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting error: Running "pug:compile" (pug) task Warning: undefined is not a function Use --force to continue.
config files: { expand: true, cwd: 'pug', src: '**/*.pug', dest: 'dest', ext: '.html' }
after looking at closed cases this seemed to work with jade but I am using jade renamed as pug. Any ideas? Adding file one by one is tedious.
The text was updated successfully, but these errors were encountered:
I was just noticing that that's not covered in the readme and was hoping the configuration was just overlooked in documentation.
Sorry, something went wrong.
The format below works. Note the square brackets -- files is apparently an array object, not a scalar object. The same is true of src.
files: [ { expand: true, src: [ 'src/app/modules/**/*.tpl.pug' ], dest: 'build/tmp/', ext: '.tpl.html' } ]
See http://gruntjs.com/configuring-tasks, and search for dynamic src-dest file mappings.
No branches or pull requests
Getting error: Running "pug:compile" (pug) task
Warning: undefined is not a function Use --force to continue.
after looking at closed cases this seemed to work with jade but I am using jade renamed as pug.
Any ideas? Adding file one by one is tedious.
The text was updated successfully, but these errors were encountered: