Kaynağa Gözat

@uppy/core: mark the package as side-effect free (#4730)

This should allow bundler to not include Preact when no UIPlugin is used.
Antoine du Hamel 1 yıl önce
ebeveyn
işleme
0b3b7dc546
1 değiştirilmiş dosya ile 1 ekleme ve 0 silme
  1. 1 0
      packages/@uppy/core/package.json

+ 1 - 0
packages/@uppy/core/package.json

@@ -7,6 +7,7 @@
   "style": "dist/style.min.css",
   "types": "types/index.d.ts",
   "type": "module",
+  "sideEffects": false,
   "keywords": [
     "file uploader",
     "uppy",