Skip to content

Commit b94da1f

Browse files
committed
Merge pull request webpack-contrib#184 from quicksnap/master
Fix errors due to missing semicolon
2 parents 4f9543a + 65d0458 commit b94da1f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/loader.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ module.exports = function(content, map) {
8585

8686
var exportJs = compileExports(result, importItemMatcher.bind(this), camelCaseKeys);
8787
if (exportJs) {
88-
exportJs = "exports.locals = " + exportJs;
88+
exportJs = "exports.locals = " + exportJs + ";";
8989
}
9090

9191
var moduleJs;

lib/localsLoader.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ module.exports = function(content) {
3737

3838
var exportJs = compileExports(result, importItemMatcher.bind(this), camelCaseKeys);
3939
if (exportJs) {
40-
exportJs = "module.exports = " + exportJs;
40+
exportJs = "module.exports = " + exportJs + ";";
4141
}
4242

4343

0 commit comments

Comments
 (0)