@qtoggle/qui 1.18.2 → 1.18.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/pyproject.toml +1 -1
- package/webpack/webpack-common.js +5 -6
package/package.json
CHANGED
package/pyproject.toml
CHANGED
|
@@ -210,7 +210,7 @@ function makeJSRule({type, appFullPath}) {
|
|
|
210
210
|
}
|
|
211
211
|
}
|
|
212
212
|
|
|
213
|
-
function makeConfig({theme, isProduction, appName, appFullPath,
|
|
213
|
+
function makeConfig({theme, isProduction, appName, appFullPath, extraAliases, cssOnly}) {
|
|
214
214
|
/* QUI is assumed to live in `node_modules` */
|
|
215
215
|
let quiFullPath = path.resolve(__dirname, '..')
|
|
216
216
|
|
|
@@ -255,8 +255,6 @@ function makeConfig({theme, isProduction, appName, appFullPath, extraFiles, cssO
|
|
|
255
255
|
...requireFromDir(TMPL_REGEX, appTmplPath)
|
|
256
256
|
]
|
|
257
257
|
|
|
258
|
-
// TODO add extraFiles to requirements
|
|
259
|
-
|
|
260
258
|
let mainEntryName = `${appName}-bundle`
|
|
261
259
|
let shellCommands = []
|
|
262
260
|
let entries = {}
|
|
@@ -279,7 +277,8 @@ function makeConfig({theme, isProduction, appName, appFullPath, extraFiles, cssO
|
|
|
279
277
|
alias: {
|
|
280
278
|
$qui: quiJSPath,
|
|
281
279
|
$app: appJSPath,
|
|
282
|
-
$node: nodeJSPath
|
|
280
|
+
$node: nodeJSPath,
|
|
281
|
+
...extraAliases
|
|
283
282
|
}
|
|
284
283
|
},
|
|
285
284
|
output: {
|
|
@@ -359,7 +358,7 @@ function makeConfig({theme, isProduction, appName, appFullPath, extraFiles, cssO
|
|
|
359
358
|
}
|
|
360
359
|
}
|
|
361
360
|
|
|
362
|
-
function makeConfigs({isProduction, appName, appFullPath,
|
|
361
|
+
function makeConfigs({isProduction, appName, appFullPath, extraAliases}) {
|
|
363
362
|
/* Repeat the configuration for each theme, but only build JS once, the first time */
|
|
364
363
|
|
|
365
364
|
return THEMES.map((theme, i) => makeConfig({
|
|
@@ -367,7 +366,7 @@ function makeConfigs({isProduction, appName, appFullPath, extraFiles}) {
|
|
|
367
366
|
isProduction: isProduction,
|
|
368
367
|
appName: appName,
|
|
369
368
|
appFullPath: appFullPath,
|
|
370
|
-
|
|
369
|
+
extraAliases: extraAliases,
|
|
371
370
|
cssOnly: i > 0
|
|
372
371
|
}))
|
|
373
372
|
}
|