add perl module (.pm) extension

The .pm extension is perl's module or library extension by convention.
This commit is contained in:
Dan Boorstein 2022-08-19 17:27:35 -08:00 committed by GitHub
parent 35eb0efbc0
commit 7bfc150164
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,7 +10,7 @@ declare var require: any;
registerLanguage({ registerLanguage({
id: 'perl', id: 'perl',
extensions: ['.pl'], extensions: ['.pl', '.pm'],
aliases: ['Perl', 'pl'], aliases: ['Perl', 'pl'],
loader: () => { loader: () => {
if (AMD) { if (AMD) {