Skip to content
This repository was archived by the owner on Jan 3, 2019. It is now read-only.

Commit d876a30

Browse files
committed
Output loader 'value' as an array, as the docs suggest
1 parent 77b7104 commit d876a30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module.exports = function(content) {
88
var messageFunctions = new MessageFormat(locale).compile(messages);
99

1010
this.cacheable && this.cacheable();
11-
this.value = messageFunctions;
11+
this.value = [ messageFunctions ];
1212

1313
return messageFunctions.toString('module.exports');
1414
};

0 commit comments

Comments
 (0)