astro/test/fixtures/hmx-markdown/astro.config.mjs
Matthew Phillips ed85702581
Allow HMX components in markdown (#19)
* Allow HMX components in markdown

This adds support for HMX components in markdown. The mechanism for importing is via frontmatter. We could do this differently (setup script maybe?) but since this was the easiest to implement I thought it was a good first-pass option.

* Remove node-fetch from snowpack config

* Assert that the runtime is created successfully

* Add back in the micromark extension for encoding entities

* Encode both codeTextData and codeFlowValue

* Install snowpack app's deps
2021-03-23 15:20:03 -04:00

9 lines
No EOL
121 B
JavaScript

export default {
projectRoot: '.',
hmxRoot: './astro',
dist: './_site',
extensions: {
'.jsx': 'preact'
}
}