theme-scripts
theme-scripts copied to clipboard
Uncaught ReferenceError: getVariantFromId is not defined
I'm importing this: import * as product from '@shopify/theme-product'; into my main.js that run through webpack, But wherever I try to use it I get a error:
Uncaught ReferenceError: getVariantFromId is not defined
Am I missing something?