hayes0724 / shopify-packer

Modern development tool for Shopify using Webpack 5. Easy to extend and customize, zero build config, compatible with Slate and existing websites.
https://hayes0724.github.io/shopify-packer/
MIT License
181 stars 37 forks source link

[BUG] Cannot change theme source styles directory #195

Open dmkishi opened 2 years ago

dmkishi commented 2 years ago

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: