Open sarhov opened 5 years ago
@sarhov I just ran into this issue today also. I'll follow up if I find out what's going on with the different results.
Same issue here. Did you find any workarounds?
@LucaDe After looking at the generated code deeper it turns out that both the outputs are correct, the slate-tools build
command simply generates the extra prefetch
links that are useful in production, as well as including the additional product styles chunk.
I ran into this when I was debugging an IE 11 error that I thought was related to missing code, turns out it was actually just in need of a polyfill 🤷♂ So to me it doesn't seem like there's actually an issue here, just an expected difference in the production code vs dev/HMR code.
@sarhov I just ran into this issue today also. I'll follow up if I find out what's going on with the different results.
@curiouscrusher
No solution yet, I am continuing use ThemeKit instead.
@sarhov what's the problem you're having here? Are you running into missing compiled assets, or just looking to find out what the differences in asset url's are for?
Problem
When I slate-tools build, it generate correct style-tags.liquid.
But
slate-tools start
command generating style-tags.liquid where only styleLiquid scss is includedMore Information
OS: WIndows 10 Node: v10.15.3 npm: 6.9.0
The same issue with yarn build.