Skip to content
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

empty style tag in html file results in "error: Could not resolve" path to "1.css" #190

Closed
linus-accedo opened this issue May 3, 2024 · 0 comments · Fixed by #193
Closed

Comments

@linus-accedo
Copy link

empty style tag

<style type="text/css"></style>

will result in build failing with

error: Could not resolve "[html file path]/1.css" [plugin html]

it's easy to remove the empty style tag, but it's not clear why the error happens.

    "@chialab/esbuild-plugin-html": "^0.18.2",
    "esbuild": "0.20.2",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant