@cnguu/vite-plugin-uni-cdn 2.1.0 → 2.1.1

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.cjs CHANGED
@@ -222,7 +222,7 @@ class Context {
222
222
  return;
223
223
  }
224
224
  await this.uploadAliOSS();
225
- this.deleteOutputFiles();
225
+ await this.deleteOutputFiles();
226
226
  }
227
227
  replaceStaticToCdn(code) {
228
228
  const escapedStaticPrefix = escapeRegExp(this.assetDir);
package/dist/index.mjs CHANGED
@@ -215,7 +215,7 @@ class Context {
215
215
  return;
216
216
  }
217
217
  await this.uploadAliOSS();
218
- this.deleteOutputFiles();
218
+ await this.deleteOutputFiles();
219
219
  }
220
220
  replaceStaticToCdn(code) {
221
221
  const escapedStaticPrefix = escapeRegExp(this.assetDir);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cnguu/vite-plugin-uni-cdn",
3
3
  "type": "module",
4
- "version": "2.1.0",
4
+ "version": "2.1.1",
5
5
  "description": "Vite 插件,在 uni-app 中替换资源链接为 CDN 链接",
6
6
  "license": "MIT",
7
7
  "homepage": "https://github.com/cnguu/vite-plugin-uni-cdn",