Reputation: 1275
I have sample jhipster app with angular as a front-end. The folder structure is
src
|-webapp
|--app
|---content
|----images
|-----jhipster_family_member_0.svg
How webpack understands that content folder is assets? My best guess was looking into angular.json (https://codinglatte.com/posts/angular/working-with-assets-styles-and-scripts-in-angular) but there is nothing related to "assets" there.
You can find code here: https://github.com/tillias/microservice-catalog
Upvotes: 1
Views: 333
Reputation: 16294
JHipster 6 and older versions does not use Angular CLI build process so editing angular.json
has no impact.
What you are looking for is in webpack/webpack.common.js
in the configuration of CopyWebpackPlugin
.
More generally all JHipster webpack configuration is in webpack
directory.
This will change in JHipster 7.
Upvotes: 2