Skip to content
This repository has been archived by the owner on Mar 23, 2024. It is now read-only.

Config paths for modules are not used in the digestify_and_compress task. #196

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

veselinn
Copy link

Ash has the following configuration in requirejs.yml:

modules:
  - name: 'pokemons'
  - name: 'pikachu'
  - name: 'charizard'
paths:
  pikachi: 'monsters/pikachu'
  cahrizard: 'monsters/charizard'

Ash runs the assets:precompile task on his pokemon project, he gets an error:

Requirejs::BuildError: Cannot compute digest for missing asset: /home/ash/workspace/pokemon/tmp/requirejs/dst/pikachu

He expects that the pikachu and charizard modules are in /home/ash/workspace/pokemon/tmp/requirejs/dst/monsters/pikachu and /home/ash/workspace/pokemon/tmp/requirejs/dst/monsters/charizard respectively.
He suspects that the digestify_and_compress rake task is not using the paths in the config.

@veselinn
Copy link
Author

A very quick fix for the issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant