feat: migrate to Vite, support Node LTS (v18)#49
Open
cloydlau wants to merge 4 commits into
Open
Conversation
|
npm run dev 模式跑不起来,应该是 package.json 没配置 dev,俺好多年没写代码了,还没搞定。。。 |
Author
Author
|
@kamiljune 我试了可以正常运行没问题。我的环境是 node lts + pnpm lts
|
|
start 模式没问题哈,dev 不行,算了我不用 dev 了,反正差不多,感谢😂
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

When I run build under Node LTS, it throws 'Error: error:0308010C:digital envelope routines::unsupported'
I think it's time to migrate from webpack to Vite, it reduces devDependency count from 18 to 1.
Node LTS passing.