jxnblk / mdx-go

:zap: Lightning fast MDX-based dev server for progressive documentation
https://mdx-go.now.sh
MIT License
364 stars 27 forks source link

build --static still adds prefetch links to head #36

Closed zebapy closed 4 years ago

zebapy commented 4 years ago

Im running mdx-go build pages --static but the output html files still get

    <link rel='prefetch' as='script' href='/main.js'><link rel='prefetch' as='script' href='/1.main.js'><link rel='prefetch' as='script' href='/2.main.js'><link rel='prefetch' as='script' href='/3.main.js'><link rel='prefetch' as='script' href='/4.main.js'>

appended to the head tag. Is there a way to prevent this when building static? I'm trying to use mdx-go to create HTML emails and this tag is useless to that.

Also static still builds {number}.main.js files though I just need the HTML and zero JS files.

zebapy commented 4 years ago

dupe of #26 oops