Questions, feedback, and updates on the new online store design experience
I was working on my workflow of Shopify 2.0 using Shopify CLI and I am doing some file transformations using different buildtools.
I have my compiled and source code mixed but also wanted to make sure i could take leverage of the new Shopify CLI.
For that, I wanted to ignore any of the unnecessary folders that doesn't fit the directory format to be able to run the 'shopify theme serve' command.
below is the content of my .shopifyignore file:
# OS generated files # .DS_Store .DS_Store? .Spotlight-V100 .Trashes ehthumbs.db Thumbs.db # Enviroment files # source build_tools node_modules .config .github .vscode .docs src/public/*.json package.json .gitignore gulpfile.js # Other files # /\.(txt|md|lock)$/
and here is the errors I'm getting when running 'shopify theme serve'
I had the same problem and it seems adding a `/` at the end of the path solved my issue.
Like instead of
have it like
I didn't find the specifications for the .shopifyignore file and at first I thought it uses the same syntax as .gitignore but it either still is a bit buggy or it's not the same syntax.
Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...By Jacqui Mar 10, 2023
Upskill and stand out with the new Shopify Foundations Certification programBy SarahF_Shopify Mar 6, 2023
One of the key components to running a successful online business is having clear and co...By Ollie Mar 6, 2023