astro/test/fixtures/react-component/astro.config.mjs
Matthew Phillips 854d0feb34
Add support for React components. (#18)
* Add support for React components.

This adds support for react components via a new `extensions` config in astro.config.mjs. In the future we can extend this to do things like look at the import statements, as Snowpack does.

* Fix the tests
2021-03-23 13:47:54 -04:00

7 lines
No EOL
128 B
JavaScript

export default {
projectRoot: '.',
hmxRoot: './astro',
dist: './_site'
// No extensions needed, React is the default.
}