Skip to content
This repository was archived by the owner on Jun 15, 2023. It is now read-only.
This repository was archived by the owner on Jun 15, 2023. It is now read-only.

Config does not seem to be read #7

Description

@Zepp10x

In my project, I have two folders where I put templates: ./templates/ and ./static/templates/.

.
├── brunch-config.js
├── node_modules
├── package.json
├── package-lock.json
├── public
├── static
│   ├── assets
│   ├── js
│   ├── scss
│   └── templates
└── templates

I would like nunjucks-brunch to only process the templates in ./static/templates/, therefore I configured it in the following way in ./brunch-config.js:

module.exports = {
  (…)
  plugins: {
    nunjucks: {
      templatePath: 'static/templates'
    }
  }
  (…)
}

Unfortunately, nunjucks-brunch will still pick up the templates in ./templates/. What am I doing wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions