What I did
Changed the resources added to preview-head.html to instead be added to preview.js
Fixed resources, component, and policy paths which were not resolving
How to test
Run acme in a sample project. Components, policies, base styles, and custom styles should all load correctly
Does this change require an update to the documentation?
Yes, updated readme as part of this PR
Include answers to these questions and any other relevant details
I hardcoded the entry point to the webpack application /src/main/webpack/site/main.ts. This matches the setup in the AEM archetype but we may want to add this to the settings config to allow for customization.
closes #29 closes #30
Details
What I did Changed the resources added to
preview-head.html
to instead be added topreview.js
Fixed resources, component, and policy paths which were not resolvingHow to test Run acme in a sample project. Components, policies, base styles, and custom styles should all load correctly
Does this change require an update to the documentation? Yes, updated readme as part of this PR
Include answers to these questions and any other relevant details I hardcoded the entry point to the webpack application
/src/main/webpack/site/main.ts
. This matches the setup in the AEM archetype but we may want to add this to the settings config to allow for customization.