@qualcomm-ui/mdx-vite 2.1.1 → 2.1.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/dist/cli.js.map +1 -1
- package/dist/docs-plugin/docs-plugin.d.ts.map +1 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +2 -2
- package/dist/tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"docs-plugin.d.ts","sourceRoot":"","sources":["../../src/docs-plugin/docs-plugin.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAa,YAAY,EAAgB,MAAM,MAAM,CAAA;AAmBjE,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IAEnB;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;CACb;AAiKD,wBAAgB,aAAa,CAAC,IAAI,CAAC,EAAE,oBAAoB,GAAG,YAAY,
|
|
1
|
+
{"version":3,"file":"docs-plugin.d.ts","sourceRoot":"","sources":["../../src/docs-plugin/docs-plugin.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAa,YAAY,EAAgB,MAAM,MAAM,CAAA;AAmBjE,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IAEnB;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;CACb;AAiKD,wBAAgB,aAAa,CAAC,IAAI,CAAC,EAAE,oBAAoB,GAAG,YAAY,CA+GvE"}
|
package/dist/index.js
CHANGED
|
@@ -2874,7 +2874,10 @@ function quiDocsPlugin(opts) {
|
|
|
2874
2874
|
});
|
|
2875
2875
|
state.servers.push(server);
|
|
2876
2876
|
},
|
|
2877
|
-
handleHotUpdate: async ({ file: updateFile, server }) => {
|
|
2877
|
+
handleHotUpdate: async ({ file: updateFile, modules, server }) => {
|
|
2878
|
+
if (updateFile.endsWith(".css")) {
|
|
2879
|
+
return modules;
|
|
2880
|
+
}
|
|
2878
2881
|
const file = fixPath(updateFile);
|
|
2879
2882
|
if ((!config.hotUpdateIgnore || !config.hotUpdateIgnore.test(file)) && // ignore watched files. We watch for these separately.
|
|
2880
2883
|
file !== state.configFilePath) {
|