@sealcode/sealgen 0.14.7 → 0.14.8
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.
|
@@ -33,6 +33,8 @@ const load_assets_plugin = {
|
|
|
33
33
|
args.path
|
|
34
34
|
)}";
|
|
35
35
|
|
|
36
|
+
const path = "${args.path}";
|
|
37
|
+
|
|
36
38
|
import fs from "fs";
|
|
37
39
|
let buffer_promise = null;
|
|
38
40
|
|
|
@@ -52,7 +54,7 @@ export const getBase64 = async function(){
|
|
|
52
54
|
return buffer.toString("base64");
|
|
53
55
|
}
|
|
54
56
|
|
|
55
|
-
export default { getContent, url, getBase64, getBuffer };
|
|
57
|
+
export default { getContent, url, getBase64, getBuffer, path };
|
|
56
58
|
`;
|
|
57
59
|
return {
|
|
58
60
|
contents
|
package/package.json
CHANGED
|
@@ -38,6 +38,8 @@ export const load_assets_plugin = {
|
|
|
38
38
|
args.path
|
|
39
39
|
)}";
|
|
40
40
|
|
|
41
|
+
const path = "${args.path}";
|
|
42
|
+
|
|
41
43
|
import fs from "fs";
|
|
42
44
|
let buffer_promise = null;
|
|
43
45
|
|
|
@@ -57,7 +59,7 @@ export const getBase64 = async function(){
|
|
|
57
59
|
return buffer.toString("base64");
|
|
58
60
|
}
|
|
59
61
|
|
|
60
|
-
export default { getContent, url, getBase64, getBuffer };
|
|
62
|
+
export default { getContent, url, getBase64, getBuffer, path };
|
|
61
63
|
`;
|
|
62
64
|
return {
|
|
63
65
|
contents,
|