diff --git a/index.js b/index.js index 0bcb0f55..5fdb08b7 100644 --- a/index.js +++ b/index.js @@ -87,7 +87,7 @@ module.exports.pitch = function (remainingRequest) { } else { // normal import return shared.concat([ - 'require(' + addStylesServerPath + ')(' + id + ', content, ' + isProduction + ')' + 'require(' + addStylesServerPath + ').default(' + id + ', content, ' + isProduction + ')' ]).join('\n') } }