Meteor-1.3-modules-beta.8 auto including all html files?

Hi. Trying app under meteor-1.3-modules-beta.8 and i’ve local package (from https://github.com/perak/codemirror ) under directory packages which has some extra html files (documentation) which are not imported using api.add_files in package.js and still meteor complaints about the htmls (not being valid blaze templates i guess).

Is this a known issue? Or is there api.exclude or something nowadays ? :wink:

E.g.

 => Errors prevented startup:                  

   While processing files with templating (for target web.browser):
   packages/perak:codemirror/lib/codemirror/mode/index.html:1: Can't set DOCTYPE here.  (Meteor sets <!DOCTYPE html> for you)
   packages/perak:codemirror/lib/codemirror/mode/apl/index.html:1: Can't set DOCTYPE here.  (Meteor sets <!DOCTYPE html> for you)
   packages/perak:codemirror/lib/codemirror/mode/asterisk/index.html:1: Can't set DOCTYPE here.  (Meteor sets <!DOCTYPE html> for you).
....

yeah there was a problem with this, I had some problems with not used style files. See: https://github.com/meteor/meteor/issues/6036 actually, for me the problem still exists, but maybe it is related with something else. I do git clone Foundation into packages folder in beta.8 and it still complains about the .scss files which are not included in the api.addFiles so I don’t know why, but it seems to be related.

Ok, thanks for the hint. Added this thread into the #6036 (what!?! no auto-linking between github and meteor forum :wink:

Hi @ljack, this is a problem and we’ll look into it. Thanks for the report.

Looks like this is the same as https://github.com/meteor/meteor/issues/5998?