Skip to content
New issue

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

vite@3.1.3 breakscypress-vite preprocessor #10523

Closed
DrJume opened this issue Oct 18, 2022 · 1 comment
Closed

vite@3.1.3 breakscypress-vite preprocessor #10523

DrJume opened this issue Oct 18, 2022 · 1 comment

Comments

@DrJume
Copy link

DrJume commented Oct 18, 2022

The issue is also tracked in:

It is probably caused by:

When using vite to transpile the E2E spec files with cypress-vite, it shows this error:

Error: Invalid value for option "output.inlineDynamicImports" - multiple inputs are not supported when "output.inlineDynamicImports" is true.
    at error (file:///runner/_work/<project>/node_modules/.pnpm/rollup@2.78.1/node_modules/rollup/dist/es/shared/rollup.js:1858:30)
    at getInlineDynamicImports (file:///runner/_work/<project>/node_modules/.pnpm/rollup@2.78.1/node_modules/rollup/dist/es/shared/rollup.js:23490:16)
    at normalizeOutputOptions (file:///runner/_work/<project>/node_modules/.pnpm/rollup@2.78.1/node_modules/rollup/dist/es/shared/rollup.js:23392:34)
    at getOutputOptions (file:///runner/_work/<project>/node_modules/.pnpm/rollup@2.78.1/node_modules/rollup/dist/es/shared/rollup.js:23781:12)
    at getOutputOptionsAndPluginDriver (file:///runner/_work/<project>/node_modules/.pnpm/rollup@2.78.1/node_modules/rollup/dist/es/shared/rollup.js:23776:12)
    at handleGenerateWrite (file:///runner/_work/<project>/node_modules/.pnpm/rollup@2.78.1/node_modules/rollup/dist/es/shared/rollup.js:23751:74)
    at Object.write (file:///runner/_work/<project>/node_modules/.pnpm/rollup@2.78.1/node_modules/rollup/dist/es/shared/rollup.js:23721:20)
    at generate (file:///runner/_work/<project>/node_modules/.pnpm/vite@3.1.8/node_modules/vite/dist/node/chunks/dep-4da11a5e.js:45818:64)
    at doBuild (file:///runner/_work/<project>/node_modules/.pnpm/vite@3.1.8/node_modules/vite/dist/node/chunks/dep-4da11a5e.js:45826:32)
    at async Module.build (file:///runner/_work/<project>/node_modules/.pnpm/vite@3.1.8/node_modules/vite/dist/node/chunks/dep-4da11a5e.js:45662:16)
    at async Object.handler (/runner/_work/<project>/node_modules/.pnpm/cypress-vite@1.2.0_vite@3.1.8/node_modules/cypress-vite/dist/index.js:[97](https://github.com/falcondev-it/falcon-cookie/actions/runs/3275806652/jobs/5391101940#step:12:98):21)

Originally posted by @DrJume in #10116 (comment)

@DrJume DrJume changed the title #10116 breakscypress-vite preprocessor https://github.com/vitejs/vite/pull/10116 breakscypress-vite preprocessor Oct 18, 2022
@DrJume DrJume changed the title https://github.com/vitejs/vite/pull/10116 breakscypress-vite preprocessor vite@3.1.3 breakscypress-vite preprocessor Oct 18, 2022
@DrJume
Copy link
Author

DrJume commented Oct 18, 2022

The issue lies in https://github.com/mammadataei/cypress-vite.
The changes in #10116 only surfaced the underlying bug.

@DrJume DrJume closed this as completed Oct 18, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Nov 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant