Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Toolchain
sgc
Commits
a5624b9a
Commit
a5624b9a
authored
Oct 06, 2016
by
Philipp Nowinski
Browse files
[TASK] mark enterprise features as such
parent
8d17cd20
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
a5624b9a
...
...
@@ -49,7 +49,7 @@ Holds the paths to the css, sass, javascript, images, sprites, sourcemaps and in
*
webPath:
*path to your extension folder as seen from the web*
*
basePath:
*path to your extension folder as seen from the filesystem*
### abovethefold
### abovethefold
(enterprise feature)
Configuration for the critical path css.
...
...
@@ -61,11 +61,11 @@ Configuration for the critical path css.
The SGC will support you with writing next generation JavaScript and executing it in Browsers today, by transpiling it
to EcmaScript 5 compliant code. Currently EcmaScript 6 Syntax and TypeScript are supported.
*
compiler:
*es6|typescript*
*
compiler:
*es6|typescript*
(enterprise feature)
*
libraryPaths:
*additional locations that should be searched when resolving CommonJS require statements*
*
excludeFromQa:
*
glob patterns with locations that hold JavaScript that does not need to be linted (vendor stuff)
### images
### images
(enterprise feature)
*
optimize:
*locations of user uploaded images that should be optimized*
...
...
@@ -148,7 +148,7 @@ associated SVG as a css background image.
```
### css:abovethefold (will be called by the css task automatically)
### css:abovethefold (will be called by the css task automatically)
(enterprise feature)
```
bash
svg css:abovethefold
```
...
...
@@ -175,7 +175,7 @@ Assumptions:
*
all scss files are inside the sass directory, relative to the given path.
*
all css files go into the stylesheets directory, relative to the given path.
### images task
### images task
(enterprise feature)
```
bash
sgc images
--ext
[
extension name]
...
...
@@ -187,7 +187,7 @@ Assumptions:
*
all images are inside the image directory, relative to the given path.
### optimize images in fileadmin and uploads
### optimize images in fileadmin and uploads
(enterprise feature)
```
bash
sgc images:uploaded
...
...
@@ -196,7 +196,7 @@ sgc images:uploaded
This tasks optimizes all images (png, jpg, gif, svg) inside the folders you specified in the sgc-config.json file. You might want to
run this task on a regular basis to compress user uploaded media.
# Extending the sgc with your own modules
# Extending the sgc with your own modules
(enterprise feature)
You can easily extend the sgc functionality by writing your own modules. Simply create a sgc-scripts folder next to sgc-core
and put your custom scripts in there. Right now only shell-scripts with are supported, other languages might follow in the future.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment