Skip to content

Commit

Permalink
bug fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
BugKun committed May 10, 2019
1 parent cab72f4 commit 5485b84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const chunksHandle = (chunks, compilation) => {
relativePath = getRelativePath(relativePath)
content = `@import "${relativePath}";\n${content}`
} else if (!(/^\.map$/.test(extname))) {
content = `require("${relativePath}")\n${content}`
content = `require("${relativePath}");\n${content}`
}
}
})
Expand Down

0 comments on commit 5485b84

Please sign in to comment.