You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using grunt build the Vendor files are both concatenated with the custom generated CSS and directly linked to the webpage.
The problem comes from this function:
/**
* A utility function to get all app CSS sources.
*/
function filterForCSS(files) {
return files.filter(function (file) {
return file.match(/\.css$/);
});
}
because it match both the compiled file and the vendor css files.
I fixed the problem with this:
/**
* A utility function to get all app CSS sources.
*/
function filterForCSS(files) {
return files.filter(function (file) {
return file.match(/build.*\.css$/);
});
}
So I link to the index.html only the files that are in "build/" directory, Is this correct in your opinion ?
The text was updated successfully, but these errors were encountered:
I have the following setup:
with my custom CSS.
When using
grunt build
the Vendor files are both concatenated with the custom generated CSS and directly linked to the webpage.The problem comes from this function:
because it match both the compiled file and the vendor css files.
I fixed the problem with this:
So I link to the index.html only the files that are in "build/" directory, Is this correct in your opinion ?
The text was updated successfully, but these errors were encountered: