Skip to content
This repository has been archived by the owner on May 17, 2019. It is now read-only.

Commit

Permalink
Add link to progressively enhanced bundles docs in legacy browser mes…
Browse files Browse the repository at this point in the history
…sage

#723

Co-authored-by: Ryan Tsao <[email protected]>
  • Loading branch information
rtsao authored and fusion-bot[bot] committed Mar 12, 2019
1 parent 6c78f02 commit 5fb733b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/ssr-plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ const SSRBodyTemplate = createPlugin/*:: <SSRBodyTemplateDepsType,SSRBodyTemplat
<body style="padding:20vmin;font-family:sans-serif;font-size:16px;background:papayawhip">
<p>You are using a legacy browser but only the modern bundle has been built (legacy bundles are skipped by default when using <code style="display:inline">fusion dev</code>).</p>
<p>Please use a modern browser or <pre><code style="display:inline">fusion dev --forceLegacyBuild</code></pre> to build the legacy bundle.</p>
<p>For more information, see the docs on <a href="https://github.com/fusionjs/fusion-cli/blob/master/docs/progressively-enhanced-bundles.md">progressively enhanced bundles</a>.</p>
</body>
</html>`;
}
Expand Down

0 comments on commit 5fb733b

Please sign in to comment.