mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-16 04:02:52 -06:00
#6372: Clean up project-static directory structure
This commit is contained in:
parent
4225e28a4b
commit
6b88ed0321
@ -27,7 +27,7 @@ For JavaScript, every `.ts` file in `netbox/project-static/src` is:
|
||||
2. Minified
|
||||
3. Combined into a single output file at `netbox/project-static/dist/netbox.js` (this includes any dependant libraries imported in a file)
|
||||
|
||||
Likewise, with Sass, each `*.scss` file is:
|
||||
Likewise, with Sass, every `.scss` file in `netbox/project-static/styles` is:
|
||||
|
||||
1. Transpiled from Sass to CSS
|
||||
2. Minified
|
||||
|
@ -27,10 +27,10 @@ if (args.includes('--no-cache')) {
|
||||
// Style (SCSS) bundle jobs. Generally, everything should be bundled into netbox.css from main.scss
|
||||
// unless there is a specific reason to do otherwise.
|
||||
const styles = [
|
||||
['_external.scss', 'netbox-external.css'],
|
||||
['_light.scss', 'netbox-light.css'],
|
||||
['_dark.scss', 'netbox-dark.css'],
|
||||
['_elevations.scss', 'rack_elevation.css'],
|
||||
['styles/_external.scss', 'netbox-external.css'],
|
||||
['styles/_light.scss', 'netbox-light.css'],
|
||||
['styles/_dark.scss', 'netbox-dark.css'],
|
||||
['styles/_elevations.scss', 'rack_elevation.css'],
|
||||
];
|
||||
|
||||
// Script (JavaScript) bundle jobs. Generally, everything should be bundled into netbox.js from
|
||||
|
BIN
netbox/project-static/dist/netbox-dark.css
vendored
BIN
netbox/project-static/dist/netbox-dark.css
vendored
Binary file not shown.
File diff suppressed because one or more lines are too long
BIN
netbox/project-static/dist/netbox-external.css
vendored
BIN
netbox/project-static/dist/netbox-external.css
vendored
Binary file not shown.
File diff suppressed because one or more lines are too long
BIN
netbox/project-static/dist/netbox-light.css
vendored
BIN
netbox/project-static/dist/netbox-light.css
vendored
Binary file not shown.
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user