mirror of
https://github.com/fleetdm/fleet
synced 2026-04-21 13:37:30 +00:00
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:
parent
d41d4f871e
commit
eeb1704777
12 changed files with 11 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -16,6 +16,7 @@ assets/*@*.eot
|
|||
assets/*@*.woff
|
||||
assets/*@*.woff2
|
||||
assets/*@*.ttf
|
||||
assets/*@*.mp4
|
||||
frontend/templates/react.tmpl
|
||||
bindata.go
|
||||
server/bindata/generated.go
|
||||
|
|
|
|||
9
assets/README.md
Normal file
9
assets/README.md
Normal file
|
|
@ -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.
|
|
@ -25,9 +25,7 @@ let plugins = [
|
|||
excludeWarnings: true,
|
||||
}),
|
||||
new webpack.DefinePlugin({
|
||||
featureFlags: {
|
||||
// e.g.: allowGitOpsMode: JSON.stringify(process.env.ALLOW_GITOPS_MODE),
|
||||
},
|
||||
featureFlags: {},
|
||||
}),
|
||||
];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue