-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failing to inject js code into ejs template #1713
Comments
? |
Did you manage to find the reason? |
@jantimon no |
Anyone have any luck? This works correctly
This does not
|
The problem is here |
Close in favor of #1739 |
Current behaviour 💣
Here's with the code in which I'm facing the issue. The key parts are webpack config in which I'm building typesctipt, concatenating it into 2 bundles, trying to generate index.html with these bundles being injected inside it and finally copy contents inside dist folder
Plugin version is
Here's .ejs template.
When I run
npm run build
and examine contents of dist folder I see that js bundles are not injected into index.htmlExpected behaviour ☀️
Js bundles are injected into index.html
Reproduction Example 👾
Here's the repo
Environment 🖥
Node.js v14.17.6
win32 10.0.19043
npm 6.14.15
[email protected]
[email protected]
Sorry, if I just missing something, and thank you in advance!
The text was updated successfully, but these errors were encountered: