Skip to content
Discussion options

You must be logged in to vote

I found a way, for more precise removing:

//mac os version
sed -i '' 's/version":"14\.1\.0"/version:""/g' .next/trace
grep -rlF 'version:"14.1.0"' .next/static/chunks | xargs sed -i '' 's/version:"14\.1\.0"/version:""/g'
//linux version
// remove next version from .next/trace
sed -i 's/version":"14\.1\.0"/version:""/g' .next/trace

// remove next version from window.next version
grep -rlF 'version:"14.1.0"' .next/static/chunks | xargs sed -i 's/version:"14\.1\.0"/version:""/g'

do it after the build step

Replies: 2 comments 12 replies

Comment options

You must be logged in to vote
12 replies
@ivanafanasyeu
Comment options

@icyJoseph
Comment options

@ivanafanasyeu
Comment options

@ivanafanasyeu
Comment options

Answer selected by ivanafanasyeu
@icyJoseph
Comment options

@ivanafanasyeu
Comment options

@gogulraj-encipherhealth
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
4 participants