typed-css-modules
typed-css-modules copied to clipboard
Issues when generated empty files
trafficstars
Typescript seems to complain with empty file. For example with a css file which only contains global declarations.
It may be great to just add a /* empty */ comment to prevent errors in rollup builds (for example) :

Thanks ! Your plugin is amazing !
an export {} can fix this
typescript > 2.6 disallow that. There is an issue about that in this repo
@DavidBabel are you sure it's not export default {} that is not allowed in TS > 2.6? export {} seems acceptable.