bdkjones / CodeKit-1-Old

146 stars 1 forks source link

@codekit-prepend doesn't work outside of directory #544

Open cyberwombat opened 11 years ago

cyberwombat commented 11 years ago

According to docs it sounds like I could do something such as this in a file called script.js:

@codekit-prepend "../lib/test.js"

Directory structure:

public js/script.js lib/test.js

But it doesn't work. I've tried absolute file paths as well with same results - only imports file in the same directory as calling script.

Codekit 1.5.1 (8248)

cyberwombat commented 11 years ago

Actually I just realized why - it won't import files that are not shown in the files list - this is a bit of an issue as I use the import in order to concatenate a bunch of scripts which I keep in a vendor dir - I have no need to ever edit these files and there are hundreds hence the reason why I don't import them. Codekit won't actually let me do that - something about max files reached (across multiple projects). So I guess this is a feature request - have import work regardless of whether is is shown in list.