Skip to content

Commit

Permalink
Use the correct mime type when loading a plugin (#3337)
Browse files Browse the repository at this point in the history
refs #3336
  • Loading branch information
Gervasio Marchand authored and matthew-dean committed Nov 30, 2018
1 parent 2001694 commit 764e883
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/less/import-manager.js
Expand Up @@ -146,6 +146,7 @@ module.exports = function(environment) {
}

if (importOptions.isPlugin) {
context.mime = 'application/javascript';
promise = pluginLoader.loadPlugin(path, currentFileInfo.currentDirectory, context, environment, fileManager);
}
else {
Expand Down

0 comments on commit 764e883

Please sign in to comment.