diff --git a/build.next.js b/build.next.js index 0575040..4252e02 100644 --- a/build.next.js +++ b/build.next.js @@ -28,7 +28,10 @@ const compileJs = (entry, output) => { let t1 = Date.now() let buf = fs.cat(entry).toString() let { code } = uglify.minify(buf) - code = code.replace(/\.scss/g, '.css') + code = code + .replace(/\.scss/g, '.css') + .replace(/import"([a-z0-9/.]*)(?