From e08661841f26b5f4ac08f4ff26e14fba2c62c816 Mon Sep 17 00:00:00 2001 From: Sam Hellawell Date: Thu, 7 May 2020 17:57:55 +0100 Subject: [PATCH] Disable MJS build temporarily as it has issues in certain web build systems --- package.json | 2 -- rollup.config.js | 11 ++++++----- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 97e38f9c6..a6f76a9c4 100644 --- a/package.json +++ b/package.json @@ -2,9 +2,7 @@ "name": "@docknetwork/sdk", "version": "0.0.5", "main": "index.js", - "module": "index.mjs", "license": "MIT", - "type": "module", "repository": { "type": "git", "url": "https://github.com/docknetwork/sdk" diff --git a/rollup.config.js b/rollup.config.js index 8f0c51082..2aab0e1a3 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -31,11 +31,12 @@ export default async function() { json(), ], input, - output: [{ - dir: 'dist', - format: 'esm', - entryFileNames: '[name].mjs' - }, + output: [ + // { + // dir: 'dist', + // format: 'esm', + // entryFileNames: '[name].mjs' + // }, { dir: 'dist', format: 'cjs'