diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/snowpack/.gitignore | 1 | ||||
-rw-r--r-- | examples/snowpack/astro/components/Nav.astro | 4 | ||||
-rw-r--r-- | examples/snowpack/astro/components/NewsAssets.svelte | 4 | ||||
-rw-r--r-- | examples/snowpack/astro/components/PluginSearchPage.jsx | 2 | ||||
-rw-r--r-- | examples/snowpack/astro/pages/proof-of-concept-dynamic/[slug].astro.ignore (renamed from examples/snowpack/astro/pages/proof-of-concept-dynamic/[slug].astro) | 0 | ||||
-rw-r--r-- | examples/snowpack/snowpack.config.js | 2 |
6 files changed, 7 insertions, 6 deletions
diff --git a/examples/snowpack/.gitignore b/examples/snowpack/.gitignore index f03556e8d..888e5be06 100644 --- a/examples/snowpack/.gitignore +++ b/examples/snowpack/.gitignore @@ -1,3 +1,4 @@ .DS_Store build node_modules +_site
\ No newline at end of file diff --git a/examples/snowpack/astro/components/Nav.astro b/examples/snowpack/astro/components/Nav.astro index 8ca95cb2a..31ef33e3d 100644 --- a/examples/snowpack/astro/components/Nav.astro +++ b/examples/snowpack/astro/components/Nav.astro @@ -245,8 +245,8 @@ export let version: string = '3.1.2'; <span class="logo-type">Snowpack</span> </a> <div class="search"> - <input type="text" name="search" placeholder="Search documentation..." class="search-form-input" - id="search-input"> + <input type="text" name="search" placeholder="Search documentation..." class="search-input" + id="search-form-input"> <span class="search-hint"> <span class="sr-only">Press </span> <kbd class="font-sans"><abbr title="Command" style="text-decoration: none;">⌘</abbr></kbd> diff --git a/examples/snowpack/astro/components/NewsAssets.svelte b/examples/snowpack/astro/components/NewsAssets.svelte index fc968ee99..f53078e79 100644 --- a/examples/snowpack/astro/components/NewsAssets.svelte +++ b/examples/snowpack/astro/components/NewsAssets.svelte @@ -1,7 +1,7 @@ ---- +<script> //let name = 'world'; // TODO make this dynamic? ---- +</script> <h3>Assets</h3> diff --git a/examples/snowpack/astro/components/PluginSearchPage.jsx b/examples/snowpack/astro/components/PluginSearchPage.jsx index 5fb00c9db..8f3cd98d6 100644 --- a/examples/snowpack/astro/components/PluginSearchPage.jsx +++ b/examples/snowpack/astro/components/PluginSearchPage.jsx @@ -1,6 +1,6 @@ import { h, Fragment } from 'preact'; import { useEffect, useState } from 'preact/hooks'; -import * as Styles from './PluginSearchPage.css'; +import * as Styles from './PluginSearchPage.module.css'; async function searchPlugins(val) { const params3 = new URLSearchParams([ diff --git a/examples/snowpack/astro/pages/proof-of-concept-dynamic/[slug].astro b/examples/snowpack/astro/pages/proof-of-concept-dynamic/[slug].astro.ignore index 2b05bcf66..2b05bcf66 100644 --- a/examples/snowpack/astro/pages/proof-of-concept-dynamic/[slug].astro +++ b/examples/snowpack/astro/pages/proof-of-concept-dynamic/[slug].astro.ignore diff --git a/examples/snowpack/snowpack.config.js b/examples/snowpack/snowpack.config.js index 821552181..eb9310e80 100644 --- a/examples/snowpack/snowpack.config.js +++ b/examples/snowpack/snowpack.config.js @@ -15,7 +15,7 @@ module.exports = { out: '_site', }, optimize: { - bundle: true, + bundle: false, minify: true, target: 'es2018', }, |