Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hello.
I'm working on a website with Hydrogen, and I wonder if it's possible to disable to generate source maps on a production build.
I added an option in a vite.config.js file like this:
export default defineConfig(({mode}) => ({ ...... build: { sourcemap: mode !== 'production', }, // or just set false build: { sourcemap: false, }, ......
Simply it's not working, however.
How can I correct it?
Best Regards,
K
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025