@qtoggle/qui 1.19.1 → 1.19.2
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/.pre-commit-config.yaml +1 -1
- package/package.json +1 -1
- package/pyproject.toml +1 -1
- package/webpack/webpack-common.js +4 -7
package/.pre-commit-config.yaml
CHANGED
package/package.json
CHANGED
package/pyproject.toml
CHANGED
|
@@ -35,10 +35,6 @@ const FONT_REGEX = new RegExp(`${FONT_DIR}/.*\\.(woff)$`)
|
|
|
35
35
|
const TMPL_REGEX = new RegExp(`${TMPL_DIR}/.*\\.(html|json|js)$`)
|
|
36
36
|
|
|
37
37
|
|
|
38
|
-
function escapeForLess(s) {
|
|
39
|
-
return `~"${s}"`
|
|
40
|
-
}
|
|
41
|
-
|
|
42
38
|
function requireFromDir(regex, path, excludeRegex) {
|
|
43
39
|
let filePaths = glob.sync(path + '/**')
|
|
44
40
|
|
|
@@ -67,13 +63,14 @@ function makeLessRule({type, theme, isProduction, appName, appFullPath, quiFullP
|
|
|
67
63
|
loader: 'less-loader',
|
|
68
64
|
options: {
|
|
69
65
|
lessOptions: {
|
|
66
|
+
relativeUrls: false,
|
|
70
67
|
globalVars: {
|
|
71
68
|
qui_theme: theme,
|
|
72
69
|
app_img_path: appImgPath,
|
|
73
70
|
app_font_path: appFontPath,
|
|
74
|
-
qui_img_path:
|
|
75
|
-
qui_font_path:
|
|
76
|
-
qui_less_path:
|
|
71
|
+
qui_img_path: quiImgPath,
|
|
72
|
+
qui_font_path: quiFontPath,
|
|
73
|
+
qui_less_path: quiLessPath
|
|
77
74
|
}
|
|
78
75
|
}
|
|
79
76
|
}
|