Skip to content
This repository has been archived by the owner on Oct 13, 2022. It is now read-only.

Commit

Permalink
update Rollup plugins and template.html (#247)
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann authored Aug 7, 2020
1 parent feb8ee7 commit 691be2e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions package_template.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@
"@babel/preset-env": "^7.0.0",
"@babel/runtime": "^7.0.0",
"@rollup/plugin-babel": "^5.0.0",
"@rollup/plugin-commonjs": "^12.0.0",
"@rollup/plugin-commonjs": "^14.0.0",
"@rollup/plugin-node-resolve": "^8.0.0",
"@rollup/plugin-replace": "^2.2.0",
"rollup": "^2.3.4",
"rollup-plugin-svelte": "^5.0.1",
"rollup-plugin-terser": "^5.3.0"
"rollup-plugin-terser": "^6.1.0"
}
},
"webpack": {
Expand Down
10 changes: 5 additions & 5 deletions src/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
<link rel='manifest' href='manifest.json' crossorigin='use-credentials'>
<link rel='icon' type='image/png' href='favicon.png'>

<!-- Sapper creates a <script> tag containing `src/client.js`
and anything else it needs to hydrate the app and
initialise the router -->
%sapper.scripts%

<!-- Sapper generates a <style> tag containing critical CSS
for the current page. CSS for the rest of the app is
lazily loaded when it precaches secondary pages -->
Expand All @@ -24,10 +29,5 @@
<!-- The application will be rendered inside this element,
because `src/client.js` references it -->
<div id='sapper'>%sapper.html%</div>

<!-- Sapper creates a <script> tag containing `src/client.js`
and anything else it needs to hydrate the app and
initialise the router -->
%sapper.scripts%
</body>
</html>

0 comments on commit 691be2e

Please sign in to comment.