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
I've seen that src filepaths are referenced using file.src
file.src
https://github.com/addyosmani/grunt-uncss/blob/f2c24ca17a8e6a4e114fb03f50ec605c0d986594/tasks/uncss.js#L22-L23
However, if I use a config such as:
grunt.config('custom_uncss', { test: { files: { 'dist/css/tidy.css': ['http://localhost:9003/'] } } });
logging the contents of file I get:
file
{ src: [Getter], dest: 'dist/css/tidy.css', orig: { src: [ 'http://localhost:9003/' ], dest: 'dist/css/tidy.css' } }
file.src turns out to be an empty array, whereas file.orig.src contains the array of filepaths I intended to be the sources.
file.orig.src
Perhaps there could be a check setting the sources to be the contents of file.orig.src when file.src turns out to be empty.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I've seen that src filepaths are referenced using
file.src
https://github.com/addyosmani/grunt-uncss/blob/f2c24ca17a8e6a4e114fb03f50ec605c0d986594/tasks/uncss.js#L22-L23
However, if I use a config such as:
logging the contents of
file
I get:file.src
turns out to be an empty array, whereasfile.orig.src
contains the array of filepaths I intended to be the sources.Perhaps there could be a check setting the sources to be the contents of
file.orig.src
whenfile.src
turns out to be empty.The text was updated successfully, but these errors were encountered: