This repository has been archived by the owner on Jun 7, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed resolving dependencies inside tag attributes (#16)
* Added support for block nodes Block nodes might not have a `filename` field but instead a `nodes` field with an array of sub-nodes. Additionally, I added a check on the `filename` field to see if it's undefined to avoid parcel from crashing during the bundling step in cases where the node would have no `filename` field. * Update PugAsset.ts * Fixed semicolon * Added type declarations * Fixed resolving dependencies inside tag attributes * Fix side-effect bug introduced by double url resolution * Remove unused url resolution and linked modules * Removed unused module declaration from modules.d.ts * Added srcset to the list of supported attributes
- Loading branch information
Showing
3 changed files
with
37 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters