Skip to content

Commit

Permalink
Merge pull request #4533 from alphagov/iframe-resizer-not-minified
Browse files Browse the repository at this point in the history
Serve non-minified files for iFrame resizer
  • Loading branch information
romaricpascal authored Dec 5, 2023
2 parents 8c8891a + 13698e8 commit 23f58e7
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/govuk-frontend-review/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"front-matter": "^4.0.2",
"govuk-frontend": "*",
"highlight.js": "^11.9.0",
"iframe-resizer": "^4.3.7",
"iframe-resizer": "^4.3.9",
"js-beautify": "^1.14.11",
"marked": "^10.0.0",
"marked-linkify-it": "^3.1.6",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@
{% endblock %}

{% block scripts %}
<script type="module" src="/vendor/iframe-resizer/iframeResizer.contentWindow.min.js"></script>
<script type="module" src="/vendor/iframe-resizer/iframeResizer.contentWindow.js"></script>
{% endblock %}
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
{% block bodyEnd %}
{{ super() }}
{% block scripts %}
<script type="module" src="/vendor/iframe-resizer/iframeResizer.min.js"></script>
<script type="module" src="/vendor/iframe-resizer/iframeResizer.js"></script>
<script type="module">
const $examples = document.querySelectorAll('.js-component-preview')
Expand Down

0 comments on commit 23f58e7

Please sign in to comment.