summaryrefslogtreecommitdiff
path: root/examples/framework-lit/astro.config.mjs
diff options
context:
space:
mode:
authorGravatar Matthew Phillips <matthew@matthewphillips.info> 2021-07-13 08:27:40 -0400
committerGravatar GitHub <noreply@github.com> 2021-07-13 08:27:40 -0400
commit48851c9d256b78c8e99e72d91ed98209a6a99e93 (patch)
tree19b4f4b293d4b569851a2d2531187415e13137d1 /examples/framework-lit/astro.config.mjs
parent1b13f5c158b5fbe157406308205c0939b415e1d7 (diff)
downloadastro-48851c9d256b78c8e99e72d91ed98209a6a99e93.tar.gz
astro-48851c9d256b78c8e99e72d91ed98209a6a99e93.tar.zst
astro-48851c9d256b78c8e99e72d91ed98209a6a99e93.zip
Adds support for a Lit renderer (#665)
* Adds support for a Lit renderer This adds `@astrojs/renderer-lit`. An experimental Lit renderer. * Removed cached submodule, mistake * Prevent globals clobbering * Add docs on globals
Diffstat (limited to 'examples/framework-lit/astro.config.mjs')
-rw-r--r--examples/framework-lit/astro.config.mjs17
1 files changed, 17 insertions, 0 deletions
diff --git a/examples/framework-lit/astro.config.mjs b/examples/framework-lit/astro.config.mjs
new file mode 100644
index 000000000..20f741ec6
--- /dev/null
+++ b/examples/framework-lit/astro.config.mjs
@@ -0,0 +1,17 @@
+export default {
+ // projectRoot: '.', // Where to resolve all URLs relative to. Useful if you have a monorepo project.
+ // pages: './src/pages', // Path to Astro components, pages, and data
+ // dist: './dist', // When running `astro build`, path to final static output
+ // public: './public', // A folder of static files Astro will copy to the root. Useful for favicons, images, and other files that don’t need processing.
+ buildOptions: {
+ // site: 'http://example.com', // Your public domain, e.g.: https://my-site.dev/. Used to generate sitemaps and canonical URLs.
+ // sitemap: true, // Generate sitemap (set to "false" to disable)
+ },
+ devOptions: {
+ // port: 3000, // The port to run the dev server on.
+ // tailwindConfig: '', // Path to tailwind.config.js if used, e.g. './tailwind.config.js'
+ },
+ renderers: [
+ '@astrojs/renderer-lit'
+ ]
+}; \ No newline at end of file