854d0feb34
* 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
9 lines
No EOL
121 B
JavaScript
9 lines
No EOL
121 B
JavaScript
|
|
export default {
|
|
projectRoot: '.',
|
|
hmxRoot: './astro',
|
|
dist: './_site',
|
|
extensions: {
|
|
'.jsx': 'preact'
|
|
}
|
|
} |