Skip to content

Commit 9a03ecc

Browse files
committed
my assumption was right here - only entry points should be used to generate tags. vitejs/vite#16598 (comment)
1 parent 554b107 commit 9a03ecc

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

test/test.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -129,11 +129,6 @@ function () {
129129
[
130130
// Main entry point script:
131131
'<script type="module" src="/dist/assets/main.4889e940.js"></script>',
132-
// TODO open an issue to verify Vite's documentation:
133-
// https://vitejs.dev/guide/backend-integration
134-
// In their example, a `<script>` tag is generated for the `views/foo.js` script,
135-
// but this seems wrong, as the script is already preloaded as a module - in their example,
136-
// `views/foo.js` is a dynamic entry point, and should be loaded dynamically, not eagerly. (?)
137132
]
138133
);
139134
}

0 commit comments

Comments
 (0)