From 5fddd5f1568db989cd146f472f1dc4b1963bb539 Mon Sep 17 00:00:00 2001 From: Jake Archibald Date: Tue, 5 Jan 2021 16:38:58 +0000 Subject: [PATCH] Keep iife small --- README.md | 2 +- rollup.config.js | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8400fed..247465c 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # IndexedDB with usability. -This is a tiny (~1.08k brotli'd) library that mostly mirrors the IndexedDB API, but with small improvements that make a big difference to usability. +This is a tiny (~1.09k brotli'd) library that mostly mirrors the IndexedDB API, but with small improvements that make a big difference to usability. 1. [Installation](#installation) 1. [Changes](#changes) diff --git a/rollup.config.js b/rollup.config.js index 72163ee..8c068ab 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -43,6 +43,7 @@ export default async function ({ watch }) { output: { file: 'build/iife/index-min.js', format: 'iife', + esModule: false, name: 'idb', }, }); @@ -58,6 +59,7 @@ export default async function ({ watch }) { output: { file: 'build/iife/with-async-ittr-min.js', format: 'iife', + esModule: false, name: 'idb', }, });