CodeKit-1-Old
CodeKit-1-Old copied to clipboard
First JS import from in-file statement is ignored
I have found when I use the in-file statements for importing JS files the first call is always ignored by Codekit. It doesn't import it or reference it in the sidebar of Codekit. The solution i have for the time being is to place a comma in front of any JS to import to make it ignore an empty call.
Here is an example of what and what doesn't work.
This doesn't work - the plugin.js file is not imported.
@codekit-prepend "../js/plugin.js, ../js/main.js"
This does work
@codekit-prepend ", ../js/plugin.js, ../js/main.js"