shopify-packer
shopify-packer copied to clipboard
[BUG] Cannot change theme source styles directory
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