forked from qt-creator/qt-creator
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:
@@ -57,6 +57,11 @@
|
||||
\" <comment>JSON file</comment>\",
|
||||
\" <glob pattern=\'*.json\' weight=\'70\'/>\",
|
||||
\" </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>\"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user