Skip to content

Plugin not working with webpack-dev-server #402

Open
@roryabraham

Description

@roryabraham

Environment and package version

webpack: 5.75.0
html-webpack-plugin: 5.5.0
html-inline-script-webpack-plugin: 3.1.0

Reproduction link / code sample

Coming from https://github.com/Expensify/App. Sorry it's not a minimal example but the webpack config is right here.

Steps to reproduce

  1. npm i
  2. npm run web
  3. Look at the html file in the resultant web build – see that there's no

image

What is expected?

The specified script should be inlined in the html.

What is actually happening?

It is just showing up as a normal script tag w/ defer

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions