Created
March 30, 2022 01:22
-
-
Save frandiox/8a4d0ddbfcc1ccd29f829d7a4b3574e0 to your computer and use it in GitHub Desktop.
Adding Hydrogen plugin to Vite config
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
import {defineConfig} from 'vite'; | |
import hydrogen from '@shopify/hydrogen/plugin'; | |
import shopifyConfig from './shopify.config'; | |
// https://vitejs.dev/config/ | |
export default defineConfig({ | |
plugins: [hydrogen(shopifyConfig)], | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment