Skip to content

Commit

Permalink
fix(*): remove esm version
Browse files Browse the repository at this point in the history
BREAKING CHANGE: shouldn't affect anybody, but if people relied on there being an ESM version
it is gone now

Signed-off-by: Will Soto <willsoto@users.noreply.github.com>
  • Loading branch information
willsoto committed Oct 9, 2020
1 parent d087ef5 commit a6c7545
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"repository": "git://github.com/willsoto/nestjs-prometheus.git",
"license": "Apache-2.0",
"author": "Will Soto <willsoto@users.noreply.github.com> (https://github.com/willsoto)",
"exports": "./dist/esm.js",
"main": "./dist/cjs.js",
"typings": "./typings/index.d.ts",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import slugify from "@sindresorhus/slugify";
import filesize from "rollup-plugin-filesize";
import pkg from "./package.json";

const formats = ["cjs", "esm"];
const formats = ["cjs"];
const globals = Object.keys(pkg.peerDependencies || {}).reduce(
(obj, dependency) => {
obj[dependency] = slugify(dependency);
Expand Down

0 comments on commit a6c7545

Please sign in to comment.