You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current behavior:
(See Screenshot) 1 -> Asset directories in two separate component folders 2 -> The build output only includes the image from the first of the two assets directories
Expected behavior:
I would like both of the components assets folders to combine under www -> build -> assets
Steps to reproduce:
Create new stencil project
Update to newest stencil version (1.17.3)
Create assets folder with image in two different component subfolders
Set the @component decorator 'assetDir' option to 'assets'
Add images to both of the 'assets' folder
Run 'npm run build' or 'npm run start'
The 'www' -> 'build' -> assets folder should now contain only the image from the first of the two 'assets' folders
Indended Use
On the new slew of ionic repos (ionic.io and getcapacitor so far), we have a src -> pages directory that contains components that represent a single page of a website. It would be nice for each of those folders to contain an 'assets' or 'img' directory so we could keep all assets together with the component styles and .tsx file. Right now the workaround is naming the asset directory some like 'assets-app-home' or 'img-app-home' so that it is unique between components.
Other information:
The text was updated successfully, but these errors were encountered:
Stencil version:
I'm submitting a:
[ ] bug report
[X] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://stencil-worldwide.herokuapp.com/ or https://forum.ionicframework.com/
Current behavior:
(See Screenshot)
1 -> Asset directories in two separate component folders
2 -> The build output only includes the image from the first of the two assets directories
Expected behavior:
I would like both of the components assets folders to combine under www -> build -> assets
Steps to reproduce:
Create new stencil project
Update to newest stencil version (1.17.3)
Create assets folder with image in two different component subfolders
Set the @component decorator 'assetDir' option to 'assets'
Add images to both of the 'assets' folder
Run 'npm run build' or 'npm run start'
The 'www' -> 'build' -> assets folder should now contain only the image from the first of the two 'assets' folders
Indended Use
On the new slew of ionic repos (ionic.io and getcapacitor so far), we have a src -> pages directory that contains components that represent a single page of a website. It would be nice for each of those folders to contain an 'assets' or 'img' directory so we could keep all assets together with the component styles and .tsx file. Right now the workaround is naming the asset directory some like 'assets-app-home' or 'img-app-home' so that it is unique between components.
Other information:
The text was updated successfully, but these errors were encountered: