Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FP-1496: CSS Build to Core-Styles #448

Merged
merged 149 commits into from
Apr 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
149 commits
Select commit Hold shift + click to select a range
c8002f7
Core-Styles: Add tacc-core-styles pkg (dev url)
wesleyboar Feb 4, 2022
601844f
Core-Styles: Use tacc-core-styles pkg
wesleyboar Feb 5, 2022
78d323e
Merge branch 'main' into test/core-styles
wesleyboar Feb 5, 2022
c6cdb16
Core-Styles: Part 2: No Core Src, Get Project Name
wesleyboar Feb 8, 2022
cc8571a
Core-Styles: Minor: Tweaks & Part 2: Tweaks
wesleyboar Feb 8, 2022
48b2184
Core-Styles: Part 2: Git Latest taccsite_custom
wesleyboar Feb 8, 2022
f847a87
Core-Styles: Part 2: WIP: Use Node Only in Submod
wesleyboar Feb 8, 2022
82a0a2f
Core-Styles: Rename tacc-core-styles → code-styles
wesleyboar Feb 8, 2022
2302368
Quick: use public email (submod)
wesleyboar Feb 8, 2022
9629c96
Core-Styles: Use core-styles main (submod)
wesleyboar Feb 8, 2022
f7e7a37
Core-Styles: Namespace submod No package
wesleyboar Feb 8, 2022
08b3c94
FP-1502: Fix Callout Title Height (#441)
wesleyboar Feb 10, 2022
bc19415
Core-Styles: Fix Themes / .postcssrc-Merge Support
wesleyboar Feb 11, 2022
3470e08
Core-Styles: Fix Themes Support (submod)
wesleyboar Feb 11, 2022
4212d3a
Merge branch 'main' into test/core-styles
wesleyboar Feb 14, 2022
286d2ae
Quick: (sub-mod) core-styles → @tacc/core-styles
wesleyboar Feb 14, 2022
a369066
Core-Styles: Install yarn globally (for submod)
wesleyboar Feb 14, 2022
e849bfd
COre-Styles: Polish
wesleyboar Feb 15, 2022
c59ea00
Core-Styles: Fix core-styles paths
wesleyboar Feb 15, 2022
68067e1
Core-Styles: Noop: Submod at latest Core-Styles
wesleyboar Feb 15, 2022
76dc2c9
Core-Styles: Noop: submod dep update
wesleyboar Feb 15, 2022
efbc69a
Core-Styles: Fix: Dockerfile typos
wesleyboar Feb 16, 2022
84422ff
Core-Styles: Dockerfile should use yarn not npm
wesleyboar Feb 16, 2022
1cca31b
Core-Styles: Dockerfile must use npm so make note
wesleyboar Feb 16, 2022
79d0085
Core-Styles: Submod Readme.md updates
wesleyboar Feb 16, 2022
90f5505
Core-Styles: submod node_modules is not an app
wesleyboar Feb 16, 2022
26ac74f
Merge branch 'main' into test/core-styles
wesleyboar Feb 17, 2022
7db3e97
Core-Styles: Fix template symlinks to sample HTML
wesleyboar Feb 22, 2022
917af2d
WIP: Abandon Yarn
wesleyboar Feb 23, 2022
186bbac
WIP: Fix Build Error Via Https URL to Core-Styles
wesleyboar Feb 24, 2022
148be67
WIP: Debug Build Error By Splitting NPM ci & build
wesleyboar Feb 24, 2022
7fe74ca
Core-Styles: (Submod) Fix two bad links
wesleyboar Feb 24, 2022
08e2d2d
Merge branch 'main' into test/core-styles
wesleyboar Feb 24, 2022
b34b9ee
Core-Styles: Get latest from core-styles
wesleyboar Feb 24, 2022
cfd5553
Merge branch 'main' into test/core-styles
wesleyboar Feb 24, 2022
c1e8e16
Merge branch 'main' into test/core-styles
wesleyboar Feb 28, 2022
1414f7a
Core-Styles: Update README.md
wesleyboar Feb 28, 2022
c7367e5
Core-Styles: Remove cruft
wesleyboar Feb 28, 2022
c9198af
Core-Styles: Tweak README.md "Static Files"
wesleyboar Feb 28, 2022
ff16726
Core-Styles: ubmod: Add Git Rev to Version
wesleyboar Feb 28, 2022
f20f116
Core-Styles: Commit Buit Core Styles into site-cms
wesleyboar Feb 28, 2022
619bcaf
Merge branch 'main' into test/core-styles
wesleyboar Feb 28, 2022
b38da4a
Core-Styles: Fix Submod CSS '@import' Paths
wesleyboar Feb 28, 2022
049ae70
Core-Styles: Plan B: Move Node & _shared to Core
wesleyboar Mar 1, 2022
9748e40
Core-Styles: Plan B: Update Submod README
wesleyboar Mar 1, 2022
45ff153
Core-Styles: Plan B: Revert Submod .gitignore
wesleyboar Mar 1, 2022
44640be
Core-Styles: Plan B: Submod: Load Local CSS Files with Paths
wesleyboar Mar 1, 2022
489b666
Core-Styles: Plan B: Explain Stylesheet Load Logic
wesleyboar Mar 1, 2022
ba607cd
Core-Styles: Plan B: Remove Plan A Leftover
wesleyboar Mar 1, 2022
465ca60
Core-Styles: Plan B: Import version in migrate CSS
wesleyboar Mar 1, 2022
b8f8db3
Core-Styles: Plan B: Revert Plan A README changes
wesleyboar Mar 1, 2022
9c6fdd5
Core-Styles: Plan B: Noop: Polish README
wesleyboar Mar 1, 2022
346a544
Core-Styles: Plan B: Revert More Plan A changes
wesleyboar Mar 1, 2022
dec8177
Merge branch 'main' into test/core-styles--solution-b
wesleyboar Mar 1, 2022
f827750
Core-Styles: Plan B: Tweaks
wesleyboar Mar 1, 2022
9abf668
Merge branch 'main' into test/core-styles--solution-b
wesleyboar Mar 1, 2022
ffdd0ee
Core-Styles: Plan B: Revert bad .gitignore change
wesleyboar Mar 1, 2022
2a0e59b
Core-Styles: Plan B: Remove accidental file
wesleyboar Mar 1, 2022
4601a6c
Merge branch 'main' into test/core-styles--solution-b
wesleyboar Mar 1, 2022
21da24c
Core-Styles: Plan B: Noop: Submod: Drop Change
wesleyboar Mar 1, 2022
b67249e
Core-Styles: Plan B: Noop: Submod: Reduce Diff
wesleyboar Mar 1, 2022
d33123c
Core-Styles: Plan B: Noop: Submod: Reduce Diff+
wesleyboar Mar 1, 2022
84659c8
Core-Styles: Plan B: Noop: Submod: README Cleanup
wesleyboar Mar 2, 2022
25731bf
Core-Styles: Plan B: Fix: Core-Styles Dep URL
wesleyboar Mar 2, 2022
0ba203c
Core-Styles: Plan B: Fix: update-css-version.js
wesleyboar Mar 2, 2022
2e35dc4
Core-Styles: Plan B: Noop: Remove outdated comment
wesleyboar Mar 2, 2022
b22253f
Merge branch 'main' into test/core-styles--solution-b
wesleyboar Mar 11, 2022
e276658
Merge branch 'main' into test/core-styles--solution-b
wesleyboar Mar 11, 2022
716a95a
Core-Styles: Plan B: Fix: Unisntall Unused Yarn
wesleyboar Mar 11, 2022
a8c1b68
Core-Styles: Plan B: Try Fix Jenkins Build Issue
wesleyboar Mar 11, 2022
344d839
Core-Styles: Plan B: Try 2 Fix Jenkins Build Issue
wesleyboar Mar 11, 2022
36d3a3f
Core-Styles: Plan B: Try 3 Fix Jenkins Build Issue
wesleyboar Mar 11, 2022
890caf6
Core-Styles: Plan B: Doc Build Issue Fix Reason
wesleyboar Mar 11, 2022
9c35a81
Merge branch 'main' into test/core-styles--solution-b
wesleyboar Mar 11, 2022
b604235
Core-Styles: Plan B: Try Fix Git Rev Build Fail
wesleyboar Mar 11, 2022
549ae71
Core-Styles: Plan B: Try 2 Fix Git Rev Build Fail
wesleyboar Mar 11, 2022
c9946c8
Core-Styles: Plan B: Try 3 Fix Git Rev Build Fail
wesleyboar Mar 11, 2022
2c06261
Core-Styles: Plan B: Fix 3 Fix Git Rev Build Fail
wesleyboar Mar 12, 2022
ff3e5f7
Core-Styles: Plan B: Fix 3.2 Git Rev Build Fail
wesleyboar Mar 12, 2022
e8aacfa
Core-Styles: Plan B: Fix 3.3 Git Rev Build Fail
wesleyboar Mar 14, 2022
36dfcdc
Core-Styles: Plan B: Use Package License in CSS
wesleyboar Mar 14, 2022
a869a89
Core-Styles: Plan B: Simplify CSS Version Script
wesleyboar Mar 14, 2022
6f88110
Core-Styles: Plan B: Get Latest Core-Styles
wesleyboar Mar 14, 2022
ddc6b51
Core-Styles: Plan B: Update to Use Version CLI
wesleyboar Mar 15, 2022
dbf165c
Core-Styles: Plan B: Update for Latest Styles+CLI
wesleyboar Mar 15, 2022
40ed21d
Core-Styles: Plan B: Get Version CSS Website Fix
wesleyboar Mar 15, 2022
4b9e227
Core-Styles: Plan B: Support NPM6– (w/ Caveat)
wesleyboar Mar 15, 2022
771d19b
Core-Styles: Plan B: Try to Exit Build @ Node Fail
wesleyboar Mar 15, 2022
fd20406
Core-Styles: Plan B: Fix: Require NPM7+
wesleyboar Mar 15, 2022
7c62451
Merge branch 'main' into test/core-styles--solution-b
wesleyboar Mar 15, 2022
0c77940
Core-Styles: Plan B: Fix: Install NPM7 via Node 15
wesleyboar Mar 15, 2022
b22fa54
Core-Styles: Plan B: Fix: Install Node 16
wesleyboar Mar 15, 2022
c5ab455
fix(attempt): build error from core-styles
wesleyboar Mar 15, 2022
87841e5
fix(attempt, really): build error from core-styles
wesleyboar Mar 15, 2022
d86b780
fix(attempt 3): build error from core-styles
wesleyboar Mar 15, 2022
b6475ae
fix(core-styles): skip build error
wesleyboar Mar 15, 2022
d43d764
fix(FP-1496): only build CSS for given project
wesleyboar Mar 15, 2022
fa8b278
fix(core-styles): move stylesheet, cms → styles
wesleyboar Mar 16, 2022
95e93f1
chore(core-styles): remove ` --project` complexity
wesleyboar Mar 16, 2022
81f8a0e
doc: migrations CSS is temporary
wesleyboar Mar 16, 2022
973f716
doc: undo accidental change
wesleyboar Mar 16, 2022
cdcd4e5
doc: clean up package.json
wesleyboar Mar 16, 2022
6115047
chore(styles): udpate version CSS
wesleyboar Mar 16, 2022
324378c
Merge branch 'main' into test/core-styles--solution-b
wesleyboar Mar 19, 2022
c3d8736
chore(package): cleanup after move a dep to devDep
wesleyboar Mar 21, 2022
cf93380
feat(version): do not depend on git describe
wesleyboar Mar 21, 2022
9d4f805
chore(core-styles): do not support verbose version
wesleyboar Mar 21, 2022
f015aa7
chore(core-styles): noop, update to latest commit
wesleyboar Mar 21, 2022
22748b3
feat(version): use automated version
wesleyboar Mar 22, 2022
33767a8
chore(version): no need to ignore old stylesheet
wesleyboar Mar 22, 2022
a1b14aa
fix(version): assign BUILD_ID in Makefile
wesleyboar Mar 22, 2022
30a5080
Merge branch 'main' into test/core-styles--solution-b
wesleyboar Mar 22, 2022
be58a19
fix(core-styles): improve Makefile legibility
wesleyboar Mar 22, 2022
394751d
fix(core-styles): undo Makefile legibility change
wesleyboar Mar 22, 2022
29deb99
Merge branch 'main' into test/core-styles--solution-b
wesleyboar Mar 24, 2022
7eec335
fix(core-styles): add build args to correct cmd
wesleyboar Mar 25, 2022
4d84c53
fix(core-styles): return build args to correct cmd
wesleyboar Mar 25, 2022
eacb3ee
fix(core-styles): revive NPM script arg forwarding
wesleyboar Mar 25, 2022
202eb68
fix(core-styles): core node to get args not env
wesleyboar Mar 25, 2022
0ca4222
fix(core-styles): node script get args right way
wesleyboar Mar 25, 2022
d2175f6
chore(core-styles): debug on build server
wesleyboar Mar 25, 2022
4c1f3e3
chore(core-styles): debug on build server 2
wesleyboar Mar 25, 2022
1ea4345
chore(core-styles): try fix for build args
wesleyboar Mar 25, 2022
b5028e1
chore(core-styles): remove debug code
wesleyboar Mar 25, 2022
46187a0
Merge branch 'main' into test/core-styles--solution-b
wesleyboar Mar 25, 2022
cc3e424
chore(node): remove unnecessary resolution
wesleyboar Mar 26, 2022
48c00c1
fix(attempt): npm ci & build in one line/layer
wesleyboar Mar 26, 2022
f0e654f
chore(fix): use new core-styles main branch
wesleyboar Mar 26, 2022
628b08f
ci(optimize): restore cache opportunities
wesleyboar Mar 26, 2022
e98436d
ci(optimize): another cache opportunity
wesleyboar Mar 27, 2022
00258f4
fix(core-styles): let ARGs take effect, drop ENVs
wesleyboar Mar 27, 2022
cd448e1
fix(core-styles): do not print version "undefined"
wesleyboar Mar 27, 2022
734cdce
fix(core-styles): prevent undefined id and project
wesleyboar Mar 27, 2022
1f22b93
fix(core-styles): project can custom config core
wesleyboar Mar 27, 2022
ee0b1b9
chore(core-styles): clean up build script
wesleyboar Mar 27, 2022
c7d2c93
fix(core-styles): config script
wesleyboar Mar 27, 2022
431cb61
fix(core-styles): build script not assume configs
wesleyboar Mar 27, 2022
cafbb25
chore(build): cleanup script for legibility
wesleyboar Mar 27, 2022
7a21dec
doc(css): clarify TACC v. CMS v. Project
wesleyboar Mar 27, 2022
c91bd26
doc(css): remove filename comments
wesleyboar Mar 27, 2022
34b0409
fix(snippets): fix typo in html symlinks' source
wesleyboar Mar 28, 2022
49a3882
ci(cache): bust cache to build symlink change
wesleyboar Mar 28, 2022
bfe9653
Revert "ci(cache): bust cache to build symlink change"
wesleyboar Mar 28, 2022
13d00eb
ci(log): output custom config file lists
wesleyboar Mar 28, 2022
5595016
fix(migrations): rename core migration stylesheet
wesleyboar Mar 28, 2022
efb02f0
chore(submod): update to latest main
wesleyboar Mar 28, 2022
4f29b43
Merge branch 'main' into test/core-styles--solution-b
wesleyboar Apr 6, 2022
28b004f
feat(core-styles): tacc-wbomar → TACC
wesleyboar Apr 6, 2022
77fa791
feat(core-styles): tacc-wbomar → TACC (npm i)
wesleyboar Apr 6, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ build
!build/README.md

## environment variables
.env
docker_repo.var

# Static and Media folders
Expand All @@ -26,7 +25,6 @@ docker_repo.var
repo_name.var

# Secrets and Customizations
settings.json
taccsite_cms/secrets.py
*.custom.yml
*settings_custom*.py
Expand Down
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,7 @@ COPY . /code
WORKDIR /code

# build assets
RUN npm ci && npm run build
RUN npm ci
ARG PROJECT_NAME
ARG BUILD_ID
RUN npm run build --project=$PROJECT_NAME --build-id=$BUILD_ID
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
DOCKERHUB_REPO := taccwma/$(shell cat ./docker_repo.var)
PROJECT_NAME := $(shell cat ./docker_repo.var)
DOCKER_TAG ?= $(shell git rev-parse --short HEAD)
BUILD_ID := $(shell git describe --always)
DOCKER_IMAGE := $(DOCKERHUB_REPO):$(DOCKER_TAG)
DOCKER_IMAGE_LATEST := $(DOCKERHUB_REPO):latest

Expand All @@ -9,7 +11,7 @@ build:

.PHONY: build-full
build-full:
docker build -t $(DOCKER_IMAGE) --target production -f ./Dockerfile .
docker build -t $(DOCKER_IMAGE) --target production --build-arg PROJECT_NAME=$(PROJECT_NAME) --build-arg BUILD_ID=$(BUILD_ID) -f ./Dockerfile .

.PHONY: publish
publish:
Expand Down
37 changes: 17 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ The base CMS code for TACC WMA Workspace Portals & Websites

- [Camino], a Docker container-based deployment scheme
- [Core Portal], the base Portal code for TACC WMA CMS Websites
- [Core CMS Styles], the custom UI pattern code for TACC WMA CMS Websites
- [Core CMS Resources], the custom CMS code for TACC WMA CMS Websites
- [Core Portal Deployments], private repository that facilitates deployments of [Core Portal] images via [Camino] and Jenkins

Expand Down Expand Up @@ -35,21 +36,12 @@ After you clone the repository locally, there are several configuration steps re

#### Required

1. Create a `.env` file\*† at the root of the project with this content:

```bash
CUSTOM_ASSET_DIR=name-of-project
```

1. Initialize / Update submodules.
1. Initialize / Update submodules:
1. `git submodule init`\
<sub>Adds [Core CMS Resources] repo as submodule at `taccsite_custom/`. Only necessary once per parent repo clone.</sub>
2. `git submodule update`\
<sub>Downloads code from pinned commit of [Core CMS Resources] repo to `taccsite_custom/`.</sub>

<sub>\* A ["dotenv" file](https://hexdocs.pm/dotenvy/dotenv-file-format.html) is a file, with or without a name, that has the `.env` extension.</sub>\
<sub>† Where `name-of-project` matches a directory from `/taccsite_custom`.</sub>

#### Optional

Settings may be customized piecemeal by adding, in any of these files, only the settings to change:
Expand All @@ -76,8 +68,7 @@ Follow [How to Use a Custom Docker Compose File](https://github.com/TACC/Core-CM
All CMS projects (besides the stand-alone CMS core), store project-specific resources in the `taccsite_custom` submodule.

1. Create a `taccsite_cms/settings_custom.py` symlink to `taccsite_custom/name-of-project/settings_custom.py`.\*†
2. Update the `.env` file so `CUSTOM_ASSET_DIR=name-of-project`.\*
3. Build project-specific static files. _See [Static Files](/README.md#static-files)._
2. Build project-specific static files. _See [Static Files](/README.md#static-files)._

<sub>\* Where `name-of-project` matches a directory from `/taccsite_custom`.</sub>\
<sub>† Example (from project root): `ln -s ../taccsite_custom/name-of-project/settings_custom.py taccsite_cms/settings_custom.py`\*</sub>
Expand Down Expand Up @@ -187,21 +178,26 @@ If you changes files in any `static/` directory, you may need to follow some of
#### Quick Start

0. _(assumed)_ Install missing or out-of-date Node dependencies.\*
1. _(optional)_ Make changes to `/taccsite_custom/name-of-project/static/name-of-project/css/src` files.\†‡
1. _(optional)_ Make changes to `/taccsite_custom/name-of-project/static/name-of-project/css/src` files. †‡
2. Build static files from source files.\
Via shell:
1. `npm run build` or\
`npm run build --project=name-of-project`\†
1. `npm run build`\
or\
`npm run build --project=name-of-project` †\
or\
`npm run build (...) --build-id=optional-identifier` §
3. _(to debug)_ Review respective files' content in\
`/taccsite_custom/name-of-project/static/name-of-project/css/build`.\
`/taccsite_custom/name-of-project/static/name-of-project/css/build`.
4. "Collect" static files. _See [How to Collect Static Files](#how-to-collect-static-files)._
5. _(to debug)_ Confirm respective output changed in\
`/taccsite_cms/static/site_cms/css/build` and/or\
`/taccsite_custom/static/name-of-project/css/build`.\†
5. _(to debug)_ Confirm respective output changed in:\
`/taccsite_cms/static/site_cms/css/build`\
and/or\
`/taccsite_custom/static/name-of-project/css/build` †

<sub>\* The recommended command to install expected dependencies is `npm ci`.</sub>\
<sub>† Where `name-of-project` matches a directory from `/taccsite_custom`.</sub>\
<sub>‡ To commit such changes, see [Changing Custom Resources](#changing-custom-resources)</sub>
<sub>‡ To commit such changes, see [Changing Custom Resources](#changing-custom-resources).</sub>\
<sub>§ A build ID can tag files (e.g. preserved comment in stylesheet).</sub>

#### How to Build Static Files

Expand Down Expand Up @@ -338,6 +334,7 @@ Sign your commits ([see this link](https://help.github.com/en/github/authenticat
[Core Portal Deployments]: https://github.com/TACC/Core-Portal-Deployments
[Camino]: https://github.com/TACC/Camino
[Core CMS]: https://github.com/TACC/Core-CMS
[Core Styles]: https://github.com/TACC/Core-Styles
[Core CMS Resources]: https://github.com/TACC/Core-CMS-Resources
[Core Portal]: https://github.com/TACC/Core-Portal
[1]: https://docs.docker.com/get-docker/
Expand Down
71 changes: 71 additions & 0 deletions bin/build-css-via-cli.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
#!/usr/bin/env node

/** Build CSS using the Core-Styles CLI */

const fs = require('fs');
const cmd = require('node-cmd');
const mininmist = require('minimist');

const ROOT = __dirname + '/..';
const CORE_NAME = 'core-cms';
const ARGS = mininmist( process.argv.slice( 2 ) );

const PROJECT_NAME = ARGS['project'] || '';
const BUILD_ID = ARGS['build-id'] || '';

/** Build stylesheets for Core and (optional) project */
(() => {
// Get style paths
const corePath = _getPath('taccsite_cms', 'site_cms');
const projPath = _getPath(`taccsite_custom/${PROJECT_NAME}`, PROJECT_NAME );
const hasProject = ( PROJECT_NAME && PROJECT_NAME !== CORE_NAME );

// Get config paths
const coreConfPath = `${ROOT}/${corePath}/.postcssrc.yml`;
const projConfPath = `${ROOT}/${projPath}/.postcssrc.yml`;
const confPaths = [coreConfPath];

// Always add relevant available project config
// FAQ: Project can customize Core build (e.g. theme changes CSS env. values)
if ( hasProject && fs.existsSync( projConfPath ) ) {
confPaths.push( projConfPath );
}

// Build
_build('Core', corePath, confPaths, BUILD_ID );
if ( hasProject ) {
_build( PROJECT_NAME, projPath, confPaths, BUILD_ID );
}
})();

/**
* Execute command to build stylesheets
* @param {string} name - The name of the project
* @param {string} path - The path to the project source CSS
* @param {array.string} configs - The list of config file paths
* @param {string} id - The value to identify the build
*/
function _build( name, path, configs, id ) {
const configValues = '"' + configs.join('" "') + '"';

console.log(`Overriding config with:`, configs );
console.log(`Building "${name}" styles:`);
cmd.runSync(`
core-styles build\
--input-dir "${ROOT}/${path}/src"\
--output-dir "${ROOT}/${path}/build"\
--custom-configs ${configValues}\
--build-id "${id}"\
--verbose\
`);
}

/**
* Get path to CSS resources
* @param {string} dirName - The name of the directory
* @param {string} [subDirName=dirName] - The name of the sub-directory
* @return {string}
*/
function _getPath( dirName, subDirName ) {
return dirName + '/static/' + ( subDirName || dirName ) + '/css';
}
29 changes: 0 additions & 29 deletions conf/css/.postcssrc.yml

This file was deleted.

8 changes: 0 additions & 8 deletions conf/css/freeze_variables/.postcssrc.yml

This file was deleted.

Loading