QmlJsTools: add mimetype for JavaScript modules

Fixes: QTCREATORBUG-21517
Change-Id: I18b2b309279f40c3dd4cdee2e7cf27c25fa4984a
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
David Schulz
2018-11-19 11:08:44 +01:00
parent 323136f403
commit b61d11a446

View File

@@ -57,6 +57,11 @@
\" <comment>JSON file</comment>\", \" <comment>JSON file</comment>\",
\" <glob pattern=\'*.json\' weight=\'70\'/>\", \" <glob pattern=\'*.json\' weight=\'70\'/>\",
\" </mime-type>\", \" </mime-type>\",
\" <mime-type type=\'application/x-javascript-module\'>\",
\" <sub-class-of type=\'application/javascript\'/>\",
\" <comment>Javascript module</comment>\",
\" <glob pattern=\'*.mjs\' weight=\'70\'/>\",
\" </mime-type>\",
\"</mime-info>\" \"</mime-info>\"
] ]
} }