@alauda/doom 1.10.2 → 1.10.4
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/lib/cli/load-config.js +3 -0
- package/lib/shared/helpers.js +1 -1
- package/package.json +1 -1
- package/styles/global.scss +6 -0
package/lib/cli/load-config.js
CHANGED
|
@@ -207,6 +207,9 @@ const getCommonConfig = async ({ config, root, configFilePath, base, version, do
|
|
|
207
207
|
dev: {
|
|
208
208
|
lazyCompilation: lazy,
|
|
209
209
|
},
|
|
210
|
+
performance: {
|
|
211
|
+
buildCache: false,
|
|
212
|
+
},
|
|
210
213
|
plugins: [pluginReact(), pluginSass(), pluginSvgr(), pluginYaml()],
|
|
211
214
|
resolve: {
|
|
212
215
|
alias: {
|
package/lib/shared/helpers.js
CHANGED
|
@@ -20,7 +20,7 @@ export const extractTextAndId = (title) => {
|
|
|
20
20
|
const text = title.replace(customIdReg, '').trimEnd();
|
|
21
21
|
const customId = title.match(customIdReg)?.[0]?.slice(2, -1) || '';
|
|
22
22
|
return [
|
|
23
|
-
text.replace(/\\{2}/g, '').replace(/(
|
|
23
|
+
text.replace(/\\{2}/g, '').replace(/(^|[^\\])\\([[\]])/g, '$1$2'),
|
|
24
24
|
customId,
|
|
25
25
|
];
|
|
26
26
|
};
|
package/package.json
CHANGED
package/styles/global.scss
CHANGED