#6372: Clean up project-static directory structure

This commit is contained in:
checktheroads 2021-07-12 15:21:20 -07:00
parent 4225e28a4b
commit 6b88ed0321
20 changed files with 9 additions and 9 deletions

View File

@ -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

View File

@ -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

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

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