Skip to content

Is there a way to render HTML/CSS/JS in /public/index.html on build? #4172

Closed
@dmitrizzle

Description

@dmitrizzle
  • At minimum, I'm looking for a way to import CSS into index.html that could be rendered on build (i.e. sanitize.css from NPM or https://github.com/KyleAMathews/typefaces CSS package). Is there a way to do this and have it minified on build?
  • Is there a way to do the same with JavaScript AND have it run through Babel so that it's baked into HTML?

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions