From f170223fe1863a35774dc8d44d55aa20f4b628b4 Mon Sep 17 00:00:00 2001 From: Conduitry Date: Sat, 17 Nov 2018 09:25:30 -0500 Subject: [PATCH] rollup: es -> esm --- package.json | 2 +- rollup.config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 2a4da52..d15f094 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "watcher" ], "main": "dist/CheapWatch.cjs.js", - "module": "dist/CheapWatch.es.js", + "module": "dist/CheapWatch.esm.js", "types": "types/CheapWatch.d.ts", "files": [ "dist", diff --git a/rollup.config.js b/rollup.config.js index 4d94e94..1b7f30d 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -11,6 +11,6 @@ export default { sourcemap: true, interop: false, }, - { file: './dist/CheapWatch.es.js', format: 'es', sourcemap: true }, + { file: './dist/CheapWatch.esm.js', format: 'esm', sourcemap: true }, ], };