Skip to content
This repository has been archived by the owner on Dec 26, 2023. It is now read-only.

Fix recursive filename after several rebuilds in development #50

Merged
merged 1 commit into from
Feb 13, 2018

Conversation

satazor
Copy link
Contributor

@satazor satazor commented Feb 13, 2018

This fixes an issue where the manifest url was being continuously being prefixed with the public url after each compilation, e.g.: /build/build/build/app-manifest/manifest.json

Also:

  • Fix svg assets not having the correct public url
  • Remove debug console.logs from the code

Fixes #30

@satazor
Copy link
Contributor Author

satazor commented Feb 13, 2018

@arthurbergmz Actually there's a bug which was reported in #30 that it's still unresolved when includeDirectory is true.

This fixes the issue. Basically, the problem is that options.filename was being rewritten using manifest.file, which had the public path prepended on each iteration. By using manifest.output, the issue goes away.

@satazor
Copy link
Contributor Author

satazor commented Feb 13, 2018

Do not merge yet, looking at the tests.

@satazor satazor force-pushed the patch-1 branch 2 times, most recently from 55337f9 to d0b5d39 Compare February 13, 2018 12:32
@satazor
Copy link
Contributor Author

satazor commented Feb 13, 2018

Tests are now passing!

Also:
- Fix svg assets not having the correct public url
- Remove debug console.logs from the code

Fixes arthurbergmz#30
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.

Recursive output folder creation with 3.3.4 release
2 participants