Skip to content

Commit 9f111cb

Browse files
author
Martynas Žilinskas
authored
Feature: Reintroduce config flag. (#82)
1 parent 4629f03 commit 9f111cb

6 files changed

Lines changed: 2290 additions & 960 deletions

File tree

README.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -55,17 +55,18 @@ $ scss-bundle -h
5555

5656
Config file properties can be overridden with CLI flags.
5757

58-
| CLI Flag | Bundler options | Type | Description | Values | Default |
59-
| --------------------------------------- | ------------------------ | -------- | -------------------------------------------------------------------------------- | ------------------------------------------ | ------- |
60-
| -p, --project \<path\> | | string | Project location where `scss-bundle.config.json` and `node_modules` are located. | | _cwd_ |
61-
| -e, --entryFile \<path\> <sup>`*`</sup> | entryFile <sup>`*`</sup> | string | Bundle entry file location. | | |
62-
| -o, --outFile \<path\> <sup>`*`</sup> | outFile <sup>`*`</sup> | string | Bundle output location. | | |
63-
| --rootDir \<path\> | rootDir | string | Specifies the root directory of input files. | | |
64-
| -w, --watch [boolean] | watch | boolean | Watch files for changes. Works with `rootDir`. | | |
65-
| --ignoreImports \<list\> | ignoreImports | string[] | Ignore resolving import content by matching a regular expression. | | |
66-
| --includePaths \<list\> | includePaths | string[] | Include paths for resolving imports. | | |
67-
| --dedupeGlobs \<list\> | dedupeGlobs | string[] | Files that will be emitted in a bundle once. | | |
68-
| --logLevel \<level\> | logLevel | string | Console log level. | silent, error, warning, info, debug, trace | info |
58+
| CLI Flag | Bundler options | Type | Description | Values | Default |
59+
| --------------------------------------- | ------------------------ | -------- | ----------------------------------------------------------------- | ------------------------------------------ | ------- |
60+
| -c, --config \<path\> | | string | Configuration file location. | | |
61+
| -p, --project \<path\> | project | string | Project location where `node_modules` is located. | | |
62+
| -e, --entryFile \<path\> <sup>`*`</sup> | entryFile <sup>`*`</sup> | string | Bundle entry file location. | | |
63+
| -o, --outFile \<path\> <sup>`*`</sup> | outFile <sup>`*`</sup> | string | Bundle output location. | | |
64+
| --rootDir \<path\> | rootDir | string | Specifies the root directory of input files. | | |
65+
| -w, --watch [boolean] | watch | boolean | Watch files for changes. Works with `rootDir`. | | |
66+
| --ignoreImports \<list\> | ignoreImports | string[] | Ignore resolving import content by matching a regular expression. | | |
67+
| --includePaths \<list\> | includePaths | string[] | Include paths for resolving imports. | | |
68+
| --dedupeGlobs \<list\> | dedupeGlobs | string[] | Files that will be emitted in a bundle once. | | |
69+
| --logLevel \<level\> | logLevel | string | Console log level. | silent, error, warning, info, debug, trace | info |
6970

7071
`*` - Required
7172

0 commit comments

Comments
 (0)