@cypress/vite-dev-server 3.1.0 → 3.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/plugins/cypress.js +1 -1
- package/dist/resolveConfig.js +1 -0
- package/package.json +1 -1
package/dist/plugins/cypress.js
CHANGED
|
@@ -49,7 +49,7 @@ const Cypress = (options, vite) => {
|
|
|
49
49
|
let indexHtmlContent = await fs_1.default.promises.readFile(indexHtmlPath, { encoding: 'utf8' });
|
|
50
50
|
// Inject the script tags
|
|
51
51
|
indexHtmlContent = indexHtmlContent.replace('<head>', `<head>
|
|
52
|
-
${scriptTagsToInject.
|
|
52
|
+
${scriptTagsToInject.join('')}
|
|
53
53
|
`);
|
|
54
54
|
// find </body> last index
|
|
55
55
|
const endOfBody = indexHtmlContent.lastIndexOf('</body>');
|
package/dist/resolveConfig.js
CHANGED