diff --git a/index.js b/index.js index f93e435..86078ac 100644 --- a/index.js +++ b/index.js @@ -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}` } } })