diff --git a/packages/@uppy/angular/projects/uppy/angular/tsconfig.lib.json b/packages/@uppy/angular/projects/uppy/angular/tsconfig.lib.json index f73c766cf..ea9c011e5 100644 --- a/packages/@uppy/angular/projects/uppy/angular/tsconfig.lib.json +++ b/packages/@uppy/angular/projects/uppy/angular/tsconfig.lib.json @@ -3,6 +3,7 @@ "extends": "../../../tsconfig.json", "compilerOptions": { "outDir": "../../../out-tsc/lib", + "moduleResolution": "bundler", "declaration": true, "declarationMap": true, "inlineSources": true, diff --git a/packages/@uppy/audio/package.json b/packages/@uppy/audio/package.json index 5f4f556d0..6d8f2b45e 100644 --- a/packages/@uppy/audio/package.json +++ b/packages/@uppy/audio/package.json @@ -3,7 +3,6 @@ "description": "Uppy plugin that records audio using the device’s microphone.", "version": "3.0.0", "license": "MIT", - "main": "lib/index.js", "style": "dist/style.min.css", "keywords": [ "file uploader", diff --git a/packages/@uppy/aws-s3/package.json b/packages/@uppy/aws-s3/package.json index d57da45c8..806b4435b 100644 --- a/packages/@uppy/aws-s3/package.json +++ b/packages/@uppy/aws-s3/package.json @@ -3,7 +3,6 @@ "description": "Upload to Amazon S3 with Uppy", "version": "5.0.0", "license": "MIT", - "main": "lib/index.js", "type": "module", "sideEffects": false, "scripts": { diff --git a/packages/@uppy/box/package.json b/packages/@uppy/box/package.json index bc64f831d..fa172df67 100644 --- a/packages/@uppy/box/package.json +++ b/packages/@uppy/box/package.json @@ -3,7 +3,6 @@ "description": "Import files from Box, into Uppy.", "version": "4.0.0", "license": "MIT", - "main": "lib/index.js", "type": "module", "sideEffects": false, "scripts": { diff --git a/packages/@uppy/companion-client/package.json b/packages/@uppy/companion-client/package.json index 93f9f7e63..de16144e8 100644 --- a/packages/@uppy/companion-client/package.json +++ b/packages/@uppy/companion-client/package.json @@ -3,7 +3,6 @@ "description": "Client library for communication with Companion. Intended for use in Uppy plugins.", "version": "5.0.0", "license": "MIT", - "main": "lib/index.js", "type": "module", "sideEffects": false, "scripts": { diff --git a/packages/@uppy/companion/package.json b/packages/@uppy/companion/package.json index 5e810abe6..c2243e998 100644 --- a/packages/@uppy/companion/package.json +++ b/packages/@uppy/companion/package.json @@ -2,7 +2,6 @@ "name": "@uppy/companion", "version": "6.0.1", "description": "OAuth helper and remote fetcher for Uppy's (https://uppy.io) extensible file upload widget with support for drag&drop, resumable uploads, previews, restrictions, file processing/encoding, remote providers like Dropbox and Google Drive, S3 and more :dog:", - "main": "lib/companion.js", "types": "lib/companion.d.ts", "author": "Transloadit.com", "license": "MIT", diff --git a/packages/@uppy/components/package.json b/packages/@uppy/components/package.json index fcf02a081..b0db68381 100644 --- a/packages/@uppy/components/package.json +++ b/packages/@uppy/components/package.json @@ -3,7 +3,6 @@ "description": "Headless Uppy components, made in Preact", "version": "1.0.1", "license": "MIT", - "main": "lib/index.js", "type": "module", "sideEffects": [ "*.css" diff --git a/packages/@uppy/compressor/package.json b/packages/@uppy/compressor/package.json index 1ef80f78c..2b8010ad1 100644 --- a/packages/@uppy/compressor/package.json +++ b/packages/@uppy/compressor/package.json @@ -3,7 +3,6 @@ "description": "Uppy plugin that compresses images before upload, saving up to 60% in size", "version": "3.0.0", "license": "MIT", - "main": "lib/index.js", "keywords": [ "file uploader", "uppy", diff --git a/packages/@uppy/core/package.json b/packages/@uppy/core/package.json index 9847a33c5..8978a0efc 100644 --- a/packages/@uppy/core/package.json +++ b/packages/@uppy/core/package.json @@ -3,7 +3,6 @@ "description": "Core module for the extensible JavaScript file upload widget with support for drag&drop, resumable uploads, previews, restrictions, file processing/encoding, remote providers like Instagram, Dropbox, Google Drive, S3 and more :dog:", "version": "5.0.1", "license": "MIT", - "main": "lib/index.js", "style": "dist/style.min.css", "type": "module", "sideEffects": [ diff --git a/packages/@uppy/dashboard/package.json b/packages/@uppy/dashboard/package.json index b4a0c948f..69f091f19 100644 --- a/packages/@uppy/dashboard/package.json +++ b/packages/@uppy/dashboard/package.json @@ -3,7 +3,6 @@ "description": "Universal UI plugin for Uppy.", "version": "5.0.1", "license": "MIT", - "main": "lib/index.js", "style": "dist/style.min.css", "type": "module", "sideEffects": [ diff --git a/packages/@uppy/drag-drop/package.json b/packages/@uppy/drag-drop/package.json index 3ebb9be4b..737e97bc9 100644 --- a/packages/@uppy/drag-drop/package.json +++ b/packages/@uppy/drag-drop/package.json @@ -3,7 +3,6 @@ "description": "Droppable zone UI for Uppy. Drag and drop files into it to upload.", "version": "5.0.1", "license": "MIT", - "main": "lib/index.js", "style": "dist/style.min.css", "type": "module", "sideEffects": [ diff --git a/packages/@uppy/drop-target/package.json b/packages/@uppy/drop-target/package.json index e9bf53686..6d48a685f 100644 --- a/packages/@uppy/drop-target/package.json +++ b/packages/@uppy/drop-target/package.json @@ -3,7 +3,6 @@ "description": "Lets your users drag and drop files on a DOM element", "version": "4.0.0", "license": "MIT", - "main": "lib/index.js", "type": "module", "sideEffects": [ "*.css" diff --git a/packages/@uppy/dropbox/package.json b/packages/@uppy/dropbox/package.json index a633f0205..37a8c259d 100644 --- a/packages/@uppy/dropbox/package.json +++ b/packages/@uppy/dropbox/package.json @@ -3,7 +3,6 @@ "description": "Import files from Dropbox, into Uppy.", "version": "5.0.0", "license": "MIT", - "main": "lib/index.js", "type": "module", "sideEffects": false, "scripts": { diff --git a/packages/@uppy/facebook/package.json b/packages/@uppy/facebook/package.json index fea15497f..021701588 100644 --- a/packages/@uppy/facebook/package.json +++ b/packages/@uppy/facebook/package.json @@ -3,7 +3,6 @@ "description": "Import files from Facebook, into Uppy.", "version": "5.0.0", "license": "MIT", - "main": "lib/index.js", "type": "module", "sideEffects": false, "scripts": { diff --git a/packages/@uppy/form/package.json b/packages/@uppy/form/package.json index ffcc0a8be..5910a8d5c 100644 --- a/packages/@uppy/form/package.json +++ b/packages/@uppy/form/package.json @@ -3,7 +3,6 @@ "description": "Connect Uppy to an existing HTML