(Followup to this answer)
Please can someone confirm that the following syntax is still valid in ES6?
module "javascripts/bar" {
export function Bar() {}
}
I am thinking about the scenario where I use concatenation. Yes I know HTTP2 will make concatenation moot, but I would like to concatenate my modules today.
If this is not valid, how should I construct my modules so that they remain valid in the same file?
moduleis not on the latest list of keywords. (It'd be nice if the spec were actually readable, though, eh? I thought the ES5 spec was bad, but it's got nothing on the ES6 spec...)