diff --git a/src/server.js b/src/server.js index 4667d63..2789952 100644 --- a/src/server.js +++ b/src/server.js @@ -25,7 +25,7 @@ export function renderStaticOptimized(fn) { throw new Error('did you forget to return from renderToString?') } let o = { html, ids: [], css: '', rules: [] } - let regex = /css\-([a-zA-Z0-9]+)=/gm + let regex = /css\-([a-zA-Z0-9]+)/gm let match, ids = {} while((match = regex.exec(html)) !== null) { if(!ids[match[1] + '']) {