shopify-packer icon indicating copy to clipboard operation
shopify-packer copied to clipboard

[BUG] Cannot change theme source styles directory

Open dmkishi opened this issue 2 years ago • 0 comments

Describe the bug I am unable to change the theme source styles directory using packer.config.js following examples from the App settings doc page.

To Reproduce

packer init test
cd test
yarn install

echo "const path = require('path'); module.exports = {'theme.src.styles': path.join(process.cwd(), 'src/different')};" > packer.config.js

packer build

Expected behavior Fail due to nonexistent styles directory src/different but instead it bundles from src/styles.

System:

  • OS: macOS 12.4
  • Node Version: 16.15.0
  • Yarn Version: 1.22.15
  • Packer Version: 2.4.4

dmkishi avatar Jul 10 '22 19:07 dmkishi