-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
css resources referenced by libs not being bundled in the WAR #1512
Comments
- fix the underlying bug for #1512 where nested images with the same name as another nested couldnt have images due to the require path calculation not being unique enough - adding more tests to ensure that CssResources are included in built apps - also includes a change to BundlableNodeVerifier so it sorts content paths that have assertions against them to ensure the ordering is always the same and we dont have brittle tests
So the underling bug here was the require paths for Thirdparty lib directories weren't being calculated so they were unique enough. This meant that having 2 directories called #1519 fixes this and also adds a number of tests to ensure that we bundle most types of common image formats whether they are used or not (something we'd supported beforehand anyway but had few tests around). |
managed to reproduce the bug with multiple subfolders (no need for non default aspect). the fix works. tests have been reviewed. done |
Noticed this issue as part of going from a pre-1.0 version of BRJS to the latest.
Relevant files on disk:
<app>/libs/mylibrary/loginscreen/style.css
<app>/libs/mylibrary/loginscreen/images/login-title.png
<app>/libs/mylibrary/thirdparty-lib.manifest
<app>/login-aspect/index.html
The above works fine in BRJS but when the war is built:
brjs build-app <app> -w
Then I do not see the following resource in the WAR:
<warFile>/login/v/<number>/cssresource/lib_mylibrary/loginscreen/images/login-title.png
Things to note:
The text was updated successfully, but these errors were encountered: