add readme for assets dir and cleanup directory (#33210)
add a readme to the assets directory stating its purpose. We also untrack generated assets that were mistakenly commited.
This commit is contained in:
@@ -16,6 +16,7 @@ assets/*@*.eot
|
||||
assets/*@*.woff
|
||||
assets/*@*.woff2
|
||||
assets/*@*.ttf
|
||||
assets/*@*.mp4
|
||||
frontend/templates/react.tmpl
|
||||
bindata.go
|
||||
server/bindata/generated.go
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
# assets Directory
|
||||
|
||||
This directory is used by the frontend build tool to store generated frontend build assets, such as JavaScript bundles, CSS files, and other static resources (images, fonts, etc.) that are produced during the build process.
|
||||
|
||||
## Key Points
|
||||
|
||||
- **Do not commit generated files:** All files in this directory are generated automatically and are git-ignored. They should not be committed to version control.
|
||||
- **Not for static files:** Do not place unrelated static files (like PDFs, config profiles, or documentation) here. Use a separate directory for non-UI assets.
|
||||
- **Regenerated on build:** These files are recreated every time you run the frontend build process.
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1
-3
@@ -25,9 +25,7 @@ let plugins = [
|
||||
excludeWarnings: true,
|
||||
}),
|
||||
new webpack.DefinePlugin({
|
||||
featureFlags: {
|
||||
// e.g.: allowGitOpsMode: JSON.stringify(process.env.ALLOW_GITOPS_MODE),
|
||||
},
|
||||
featureFlags: {},
|
||||
}),
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user