From b85a9f02c1c7cd45bbd81fd2a7c6791e6eb282dd Mon Sep 17 00:00:00 2001 From: Suren Atoyan Date: Thu, 7 Jan 2021 23:25:31 +0400 Subject: [PATCH] fix bundle paths --- package.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 5a9a590..2bb5768 100644 --- a/package.json +++ b/package.json @@ -3,9 +3,10 @@ "version": "3.8.0", "description": "Monaco editor wrapper for easy/one-line integration with React applications (e.g. powered by create-react-app) without need of webpack configuration files", "author": "Suren Atoyan ", - "main": "lib/index.js", - "module": "lib/index.js", - "types": "lib/index.d.ts", + "main": "lib/cjs/index.js", + "module": "lib/es/index.js", + "unpkg": "lib/umd/monaco-editor.min.js", + "jsdelivr": "lib/umd/monaco-editor.min.js", "scripts": { "lint": "npx eslint src", "build": "rollup -c && cp ./src/index.d.ts ./lib/",