Skip to content

Commit

Permalink
Merge 8bbc9fe into f640882
Browse files Browse the repository at this point in the history
  • Loading branch information
developit committed Dec 29, 2019
2 parents f640882 + 8bbc9fe commit f81177f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions compat/server.js
Expand Up @@ -3,9 +3,8 @@ var renderToString;
try {
renderToString = dep(require('preact-render-to-string'));
} catch (e) {
throw new Error(
'You seem to be missing the "preact-render-to-string" dependency.\n' +
'You can add this by using "npm install --save preact-render-to-string@next".'
throw Error(
'renderToString() error: missing "preact-render-to-string" dependency.'
);
}

Expand Down

0 comments on commit f81177f

Please sign in to comment.