Skip to content

[BUG] Cannot change theme source styles directory #195

@dmkishi

Description

@dmkishi

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions