We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm submitting a bug report
Please tell us about your environment:
Operating System: Windows 10
Node Version: 6.9.5
Browser: all
Language: all
Current behavior: The bundler is unable to match <script> src attribute without quotes while attempting to update revisioned bundles.
<script>
src
Given a minified index.html:
index.html
<script src=bundles/core.js data-main=aurelia-bootstrapper></script>
CLI outputs:
Error: Unable to update core path to bundles/core-a2ff804d88.js, could not find existing reference to replace
Expected/desired behavior:
aurelia.json
{ // ... "build": { // ... "options": { // ... "rev": true } } }
What is the expected behavior? The bundler should be able to replace revisioned script paths without quotes on the src attribute.
What is the motivation / use case for changing the behavior? I would like to feed the bundler a minified index.html
The text was updated successfully, but these errors were encountered:
fix(bundle): support quoteless script src attribute
ffafbc9
Fixes aurelia#639 Makes the capture groups optional for single/double quotes in the source file regular expression.
No branches or pull requests
I'm submitting a bug report
0.29.0
Please tell us about your environment:
Operating System:
Windows 10
Node Version:
6.9.5
5.0.2
Browser:
all
Language:
all
Current behavior:
The bundler is unable to match
<script>
src
attribute without quotes while attempting to update revisioned bundles.Given a minified
index.html
:<script src=bundles/core.js data-main=aurelia-bootstrapper></script>
CLI outputs:
Expected/desired behavior:
aurelia.json
src
attribute in your platformindex.html
What is the expected behavior?
The bundler should be able to replace revisioned script paths without quotes on the
src
attribute.What is the motivation / use case for changing the behavior?
I would like to feed the bundler a minified
index.html
The text was updated successfully, but these errors were encountered: