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
build_tools
styles
have it like
build_tools/
styles/
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.
As a business owner, have you ever wondered when your customer's first impression of yo...
By Skye Jun 6, 2023We're excited to announce improvements to the threaded messaging experience in our communi...
By TyW May 31, 2023Thank you to everyone who participated in our AMA with Klaviyo. It was great to see so man...
By Jacqui May 30, 2023