@@ -121,11 +121,14 @@ point to **this** folder as the sources root (see [configuration](#configuration
121
121
### `--revert, -r`
122
122
Reverts the changes made to the configuration files.
123
123
124
+ ### `--config, -c`
125
+ Path to the config file to use, defaults to `./.deloreanrc.json`
126
+
124
127
### `--help, -h`
125
128
Show the **help** screen.
126
129
127
130
## Configuration
128
- #### `.deloreanrc.json`
131
+ ### `.deloreanrc.json`
129
132
The configuration file required by **delorean**.
130
133
Contains options for setting JSON-keys available with Sencha' s Ext JS ` package.json` / ` app.json` that should be used
131
134
for determining the JavaScript- source files for transpiling.
@@ -141,8 +144,12 @@ for determining the JavaScript-source files for transpiling.
141
144
"toolkits": [
142
145
"modern", "classic"
143
146
],
144
- "build ": [
147
+ "builds ": [
145
148
"desktop", "shared"
149
+ ],
150
+ "externals": [
151
+ "./node_modules/@lib/externalpackage",
152
+ "./packages/local/math"
146
153
]
147
154
}
148
155
` ` `
@@ -164,14 +171,21 @@ Holds the values that should be used when evaluating strings containing template
164
171
With ` toolkits` set to ` ["modern", "classic"]` , the directories ` modern/src` and ` classic/src` will be considered
165
172
when collecting source files for transpiling.
166
173
167
- #### ` build `
174
+ #### ` builds `
168
175
- Type: ` Array`
169
176
170
177
Holds the values that should be used when evaluating strings containing templates, such as ` app/${ build .id } /overrides` .
171
178
With ` build` set to ` ["desktop", "shared"]` , the directories ` app/desktop/overrides` and ` app/shared/overrides` will be considered
172
179
when collecting source files for transpiling.
173
180
174
- #### ` .babelrc`
181
+ #### ` externals`
182
+ - Type: ` Array`
183
+
184
+ Paths to external packages that should be processed with this run of ** delorean** . This is useful if you have a project
185
+ consisting of additional external Ext JS packages that require transpilation before they get merged into a build . Please
186
+ note, that the external packages need to have ** delorean** installed and configured.
187
+
188
+ ### ` .babelrc`
175
189
The configuration file required by ** Babel**
176
190
The ` .babelrc` is the configuration file for ** Babel** and has default options known to
177
191
work with Sencha Ext JS projects >= 7.4 . Adjust to your needs . See [the documentation](https: // babeljs.io/)
0 commit comments