Vite build with sourcemaps #2765
Unanswered
stylecramper
asked this question in
Q&A
Replies: 2 comments 7 replies
-
Hello @stylecramper. |
Beta Was this translation helpful? Give feedback.
7 replies
-
Hi Damilola,
Another dev looked into it and determined that our script was missing the info from the .env file, it's working now. Thanks for the time and attention.
…-Matt
________________________________
From: Damilola Alimi ***@***.***>
Sent: Thursday, October 31, 2024 2:55 AM
To: codemagic-ci-cd/codemagic-docs ***@***.***>
Cc: Matt Anderson ***@***.***>; Mention ***@***.***>
Subject: Re: [codemagic-ci-cd/codemagic-docs] Vite build with sourcemaps (Discussion #2765)
Hey @stylecramper<https://github.com/stylecramper>,
Any update for me on this please?
If there is anything else I can assist you with, please don't hesitate to let me know.
—
Reply to this email directly, view it on GitHub<#2765 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAAL34T5PDPWQN3REZVW4LDZ6H47PAVCNFSM6AAAAABPMMGNU6VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCMJQHE3DAOI>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If you are looking for help, please confirm the following...
Which mobile framework are you using?
Ionic/Capacitor
Steps to reproduce
Our codemagic.yaml includes a script that uses vite to build artifacts using the command:
vite build --sourcemap true
If I run this command locally, the JS files and their associated sourcemap files are built into the ./dist/assets directory.
Expected results
I expect the Codemagic build to do the same thing I'm seeing locally: build the JS files with their associated sourcemap files.
Actual results
When the codemagic script runs the same command, I can see in the build overview that only the JS files - and not the sourcemap files - are built.
Build id (optional)
66ff15f0704a7c9066add214
Beta Was this translation helpful? Give feedback.
All reactions