Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b36675dc23 | ||
|
|
2515464977 | ||
|
|
1cf4da3a0d | ||
|
|
ed46b34376 |
+4
-1
@@ -85,7 +85,10 @@ esbuild
|
|||||||
// "process.version": `"v20.10.0"`, // who's using this?
|
// "process.version": `"v20.10.0"`, // who's using this?
|
||||||
// "process":`undefined`,
|
// "process":`undefined`,
|
||||||
// "global.process":`undefined`,
|
// "global.process":`undefined`,
|
||||||
"globalThis.process": `undefined`, // make azure blob storage happy
|
|
||||||
|
// make azure blob storage happy
|
||||||
|
// https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-util/src/checkEnvironment.ts
|
||||||
|
"globalThis.process.versions": `undefined`,
|
||||||
},
|
},
|
||||||
plugins: [inlineWorkerPlugin()],
|
plugins: [inlineWorkerPlugin()],
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
export const Buffer = require("buffer").Buffer;
|
export const Buffer = require("buffer").Buffer;
|
||||||
// export const process = require("process/browser");
|
export const process = require("process/browser");
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"id": "remotely-save",
|
"id": "remotely-save",
|
||||||
"name": "Remotely Save",
|
"name": "Remotely Save",
|
||||||
"version": "0.5.9",
|
"version": "0.5.10",
|
||||||
"minAppVersion": "0.13.21",
|
"minAppVersion": "0.13.21",
|
||||||
"description": "Yet another unofficial plugin allowing users to synchronize notes between local device and the cloud service.",
|
"description": "Yet another unofficial plugin allowing users to synchronize notes between local device and the cloud service.",
|
||||||
"author": "fyears",
|
"author": "fyears",
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"id": "remotely-save",
|
"id": "remotely-save",
|
||||||
"name": "Remotely Save",
|
"name": "Remotely Save",
|
||||||
"version": "0.5.9",
|
"version": "0.5.10",
|
||||||
"minAppVersion": "0.13.21",
|
"minAppVersion": "0.13.21",
|
||||||
"description": "Yet another unofficial plugin allowing users to synchronize notes between local device and the cloud service.",
|
"description": "Yet another unofficial plugin allowing users to synchronize notes between local device and the cloud service.",
|
||||||
"author": "fyears",
|
"author": "fyears",
|
||||||
|
|||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "remotely-save",
|
"name": "remotely-save",
|
||||||
"version": "0.5.9",
|
"version": "0.5.10",
|
||||||
"description": "This is yet another sync plugin for Obsidian app.",
|
"description": "This is yet another sync plugin for Obsidian app.",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev2": "node esbuild.config.mjs --watch",
|
"dev2": "node esbuild.config.mjs --watch",
|
||||||
@@ -13,7 +13,7 @@
|
|||||||
},
|
},
|
||||||
"browser": {
|
"browser": {
|
||||||
"path": "path-browserify",
|
"path": "path-browserify",
|
||||||
"process": false,
|
"process": "process/browser",
|
||||||
"stream": "stream-browserify",
|
"stream": "stream-browserify",
|
||||||
"crypto": "crypto-browserify",
|
"crypto": "crypto-browserify",
|
||||||
"url": "url/",
|
"url": "url/",
|
||||||
|
|||||||
@@ -34,6 +34,10 @@ PRO (paid) feature "sync with Yandex Disk" allows users to to sync with Yandex D
|
|||||||
|
|
||||||
PRO (paid) feature "sync with Koofr" allows users to to sync with Koofr (using its native API instead of webdav). Tutorials and limitations are documented [here](../docs/remote_services/koofr/README.md).
|
PRO (paid) feature "sync with Koofr" allows users to to sync with Koofr (using its native API instead of webdav). Tutorials and limitations are documented [here](../docs/remote_services/koofr/README.md).
|
||||||
|
|
||||||
|
### Azure Blob Storage (PRO feature)
|
||||||
|
|
||||||
|
PRO (paid) feature "sync with Azure Blob Storage" allows users to to sync with Azure Blob Storage. Tutorials and limitations are documented [here](../docs/remote_services/azureblobstorage/README.md).
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
The codes or files or subfolders inside the current folder (`pro` in the repo), are released under "source available" license: "PolyForm Strict License 1.0.0".
|
The codes or files or subfolders inside the current folder (`pro` in the repo), are released under "source available" license: "PolyForm Strict License 1.0.0".
|
||||||
|
|||||||
+8
-5
@@ -52,16 +52,19 @@ module.exports = {
|
|||||||
// "process.version": `"v20.10.0"`, // who's using this?
|
// "process.version": `"v20.10.0"`, // who's using this?
|
||||||
// "process":`undefined`,
|
// "process":`undefined`,
|
||||||
// "global.process":`undefined`,
|
// "global.process":`undefined`,
|
||||||
"globalThis.process": `undefined`, // make azure blob storage happy
|
|
||||||
|
// make azure blob storage happy
|
||||||
|
// https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-util/src/checkEnvironment.ts
|
||||||
|
"globalThis.process.versions": `undefined`,
|
||||||
}),
|
}),
|
||||||
// Work around for Buffer is undefined:
|
// Work around for Buffer is undefined:
|
||||||
// https://github.com/webpack/changelog-v5/issues/10
|
// https://github.com/webpack/changelog-v5/issues/10
|
||||||
new webpack.ProvidePlugin({
|
new webpack.ProvidePlugin({
|
||||||
Buffer: ["buffer", "Buffer"],
|
Buffer: ["buffer", "Buffer"],
|
||||||
}),
|
}),
|
||||||
// new webpack.ProvidePlugin({
|
new webpack.ProvidePlugin({
|
||||||
// process: "process/browser",
|
process: "process/browser",
|
||||||
// }),
|
}),
|
||||||
],
|
],
|
||||||
module: {
|
module: {
|
||||||
rules: [
|
rules: [
|
||||||
@@ -110,7 +113,7 @@ module.exports = {
|
|||||||
// os: require.resolve("os-browserify/browser"),
|
// os: require.resolve("os-browserify/browser"),
|
||||||
path: require.resolve("path-browserify"),
|
path: require.resolve("path-browserify"),
|
||||||
// punycode: require.resolve("punycode"),
|
// punycode: require.resolve("punycode"),
|
||||||
process: false, // require.resolve("process/browser"),
|
process: require.resolve("process/browser"),
|
||||||
// querystring: require.resolve("querystring-es3"),
|
// querystring: require.resolve("querystring-es3"),
|
||||||
stream: require.resolve("stream-browserify"),
|
stream: require.resolve("stream-browserify"),
|
||||||
// string_decoder: require.resolve("string_decoder"),
|
// string_decoder: require.resolve("string_decoder"),
|
||||||
|
|||||||
Reference in New Issue
Block a user