CodeKit-1-Old icon indicating copy to clipboard operation
CodeKit-1-Old copied to clipboard

First JS import from in-file statement is ignored

Open zizther opened this issue 10 years ago • 0 comments

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"

zizther avatar Oct 08 '13 10:10 zizther