mirror of
https://github.com/netbox-community/netbox.git
synced 2025-12-18 10:16:34 +00: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
|
||||
|
||||
2
netbox/project-static/dist/netbox-dark.css
vendored
2
netbox/project-static/dist/netbox-dark.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2
netbox/project-static/dist/netbox-light.css
vendored
2
netbox/project-static/dist/netbox-light.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user