Skip to content

Commit 9fd55e5

Browse files
authoredJan 15, 2017
Merge pull request #3969 from webpack/bugfix/issue-3964
fix for #3964 and tests
2 parents 4658067 + 9bb46d4 commit 9fd55e5

File tree

4 files changed

+8
-1
lines changed

4 files changed

+8
-1
lines changed
 

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"tapable": "~0.2.5",
2323
"uglify-js": "^2.7.5",
2424
"watchpack": "^1.2.0",
25-
"webpack-sources": "^0.1.0",
25+
"webpack-sources": "^0.1.4",
2626
"yargs": "^6.0.0"
2727
},
2828
"license": "MIT",
+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
it("should be possible to export default an imported name", function() {
2+
var x = require("./module");
3+
x.should.be.eql({ default: 1234 });
4+
});
+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
import X from "./x"
2+
export default X

‎test/cases/parsing/issue-3964/x.js

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export default 1234;

0 commit comments

Comments
 (0)