8000 Outputting compiled html to file? · Issue #430 · webpack/webpack · GitHub
[go: up one dir, main page]

Skip to content
Outputting compiled html to file? #430
@syranide

Description

@syranide

I intend to use hashes everywhere I can with webpack, because it solves so many problems. However, we want to serve the root html as a static file (not by node).

I looked around a bit and found the html-loader and it's exactly what I want when paired with the file-loader, but it outputs code that has to be evaluated to resolve requires to the final URLs (to images, scripts, etc). Just thinking out loud, would it be possible to have some kind of eval-loader that would evaluate the code and return the result?

(I apologize if I overlooked something, it's hard to get a great overview of the endless possibilities :))

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0