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

🐛Assets in HTML template in script with type "x-template" won't get bundled #1200

Open
hzy opened this issue Apr 17, 2018 · 0 comments
Open

Comments

@hzy
Copy link

hzy commented Apr 17, 2018

🎛 Configuration (.babelrc, package.json, cli command)

No configuration, I just parcel index.html

🤔 Expected Behavior

I think assets in "x-template" script tag should also be bundled.
Code:

  <script type="text/x-template" id="template">
<div>
  <img src="./static/img.png" />
</div>
</script>

😯 Current Behavior

img.png won't get bundled.

💁 Possible Solution

Don't konw

🌍 Your Environment

Software Version(s)
Parcel v1.7.1
Node v9.7.1
npm/Yarn yarn
Operating System macOS High Sierra 10.13.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants