Skip to content

Commit

Permalink
chore: import from sourcemap indentifier
Browse files Browse the repository at this point in the history
  • Loading branch information
luis-almeida committed Jul 18, 2023
1 parent 0e58573 commit 93b5ab7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions templates/document_head.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@
<script type="importmap">
{
"imports": {
"vendor": "{{asset "vendor.js"}}",
"shared": "{{asset "shared.js"}}"
"vendor": "{{asset 'vendor.js'}}",
"shared": "{{asset 'shared.js'}}",
"new-request-form": "{{asset 'NewRequestForm.js'}}"
}
}
</script>
<script type="module">
import { setupGardenTheme } from "{{asset "shared.js"}}";
import { setupGardenTheme } from "shared";
setupGardenTheme(function (defaultTheme) {
return {
Expand Down
2 changes: 1 addition & 1 deletion templates/new_request_page.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
</div>

<script type="module">
import { renderNewRequestForm } from "{{asset 'NewRequestForm.js'}}";
import { renderNewRequestForm } from "new-request-form";
var ticketForms = {
options: []
Expand Down

0 comments on commit 93b5ab7

Please sign in to comment.