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
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025