archetype-themes / plugin-theme-component

A Shopify CLI plugin for building theme components.
MIT License
9 stars 4 forks source link

Stylesheet filename fix #337

Closed montalvomiguelo closed 8 months ago

montalvomiguelo commented 8 months ago

This PR fixes #335 & #333

  1. Outputs the filename in param-case e.g. My Random Collection -> my-random-collection. The solution leverages hyphenate from @shopify/cli-kit/common/string

  2. Removes the .liquid extension from the filename

montalvomiguelo commented 8 months ago

To learn more about jsconfig.json see https://code.visualstudio.com/docs/languages/jsconfig