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

Migrate to Vite #2557

Closed
krzysztofzuraw opened this issue Nov 15, 2022 · 0 comments · Fixed by #2580
Closed

Migrate to Vite #2557

krzysztofzuraw opened this issue Nov 15, 2022 · 0 comments · Fixed by #2580
Assignees

Comments

@krzysztofzuraw
Copy link
Member

krzysztofzuraw commented Nov 15, 2022

As we merge #2533 with Node.js version 18 webpack will require new NODE_OPTIONS. Why? Because Node.js maintainers deprecate legacy OpenSSL. This is causing our Webpack to throw Error: error:0308010C:digital envelope routines::unsupported while running any command.

Suggested workaround is to add NODE_OPTIONS=--openssl-legacy-provider every time we use Webpack in our scripts. There is no fix in the current Webpack release yet 😞.

We could wait for webpack to upgrade to version 6 but I think we can migrate to https://vitejs.dev/ instead and have a better developer experience. Then we can remove the NODE_OPTIONS=--openssl-legacy-provider variables from package.json after migrate.

@krzysztofzuraw krzysztofzuraw mentioned this issue Nov 15, 2022
27 tasks
@krzysztofzuraw krzysztofzuraw changed the title Migrate to vite Migrate to Vite Nov 15, 2022
@andrzejewsky andrzejewsky mentioned this issue Nov 16, 2022
28 tasks
@andrzejewsky andrzejewsky self-assigned this Nov 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

2 participants