diff options
author | 2021-06-02 11:35:28 -0500 | |
---|---|---|
committer | 2021-06-02 11:35:28 -0500 | |
commit | 94eac19888398e91d436cf31867ba9d3397e1d1a (patch) | |
tree | fb321d70f2a1a09ca35b5507bbf6b7f240ebc5bc /examples/doc | |
parent | 4dd18deab959adaf3f1f31b4e47349a657d273f0 (diff) | |
download | astro-94eac19888398e91d436cf31867ba9d3397e1d1a.tar.gz astro-94eac19888398e91d436cf31867ba9d3397e1d1a.tar.zst astro-94eac19888398e91d436cf31867ba9d3397e1d1a.zip |
Pre-release refactors (#289)
* refactor: expose `astro/components` as component entrypoint
* refactor: remove `extensions` from all configs
* test: fix snowpack tests
* docs: update config doc
Diffstat (limited to 'examples/doc')
-rw-r--r-- | examples/doc/astro.config.mjs | 6 | ||||
-rw-r--r-- | examples/doc/src/pages/index.astro | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/doc/astro.config.mjs b/examples/doc/astro.config.mjs index 9ba6c58c9..d97e2804d 100644 --- a/examples/doc/astro.config.mjs +++ b/examples/doc/astro.config.mjs @@ -1,5 +1,5 @@ export default { - extensions: { - '.tsx': 'preact' - } + renderers: [ + '@astrojs/renderer-preact' + ] }; diff --git a/examples/doc/src/pages/index.astro b/examples/doc/src/pages/index.astro index fe00e15a8..75ca0da4f 100644 --- a/examples/doc/src/pages/index.astro +++ b/examples/doc/src/pages/index.astro @@ -1,5 +1,5 @@ --- -import Markdown from 'astro/components/Markdown.astro'; +import { Markdown } from 'astro/components'; import Layout from '../layouts/Main.astro'; --- |