emf-converter 3.0.1 → 3.0.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/index.js +5 -1
- package/dist/index.mjs +5 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -244,7 +244,11 @@ async function ensureNodeCanvasModule() {
|
|
|
244
244
|
return nodeCanvasModule;
|
|
245
245
|
}
|
|
246
246
|
try {
|
|
247
|
-
nodeCanvasModule = await import(
|
|
247
|
+
nodeCanvasModule = await import(
|
|
248
|
+
/* webpackIgnore: true */
|
|
249
|
+
/* @vite-ignore */
|
|
250
|
+
'@napi-rs/canvas'
|
|
251
|
+
);
|
|
248
252
|
} catch {
|
|
249
253
|
nodeCanvasModule = null;
|
|
250
254
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -242,7 +242,11 @@ async function ensureNodeCanvasModule() {
|
|
|
242
242
|
return nodeCanvasModule;
|
|
243
243
|
}
|
|
244
244
|
try {
|
|
245
|
-
nodeCanvasModule = await import(
|
|
245
|
+
nodeCanvasModule = await import(
|
|
246
|
+
/* webpackIgnore: true */
|
|
247
|
+
/* @vite-ignore */
|
|
248
|
+
'@napi-rs/canvas'
|
|
249
|
+
);
|
|
246
250
|
} catch {
|
|
247
251
|
nodeCanvasModule = null;
|
|
248
252
|
}
|