diff --git a/package.json b/package.json index e0ea5a313..06f1913c3 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,9 @@ }, "browserslist": [ "> 1%", - "last 2 versions" + "last 2 versions", + "not IE <= 11", + "not IE_Mob <= 11" ], "devDependencies": { "@babel/core": "^7.7.4", diff --git a/packages/tiptap-extensions/package.json b/packages/tiptap-extensions/package.json index 82b653cde..7f07d8709 100644 --- a/packages/tiptap-extensions/package.json +++ b/packages/tiptap-extensions/package.json @@ -30,7 +30,6 @@ "prosemirror-transform": "^1.2.7", "prosemirror-utils": "^0.9.6", "prosemirror-view": "^1.15.2", - "regenerator-runtime": "^0.13.7", "tiptap": "^1.29.4", "tiptap-commands": "^1.14.4" }, diff --git a/packages/tiptap-extensions/src/plugins/Suggestions.js b/packages/tiptap-extensions/src/plugins/Suggestions.js index 64d10c393..0f11f3ee6 100644 --- a/packages/tiptap-extensions/src/plugins/Suggestions.js +++ b/packages/tiptap-extensions/src/plugins/Suggestions.js @@ -1,7 +1,6 @@ import { Plugin, PluginKey } from 'prosemirror-state' import { Decoration, DecorationSet } from 'prosemirror-view' import { insertText } from 'tiptap-commands' -import 'regenerator-runtime/runtime' // Create a matcher that matches when a specific character is typed. Useful for @mentions and #tags. function triggerCharacter({ diff --git a/yarn.lock b/yarn.lock index 7f17c5673..f9471a24e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11030,7 +11030,7 @@ regenerator-runtime@^0.11.0: resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz#be05ad7f9bf7d22e056f9726cee5017fbf19e2e9" integrity sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg== -regenerator-runtime@^0.13.3, regenerator-runtime@^0.13.4, regenerator-runtime@^0.13.7: +regenerator-runtime@^0.13.3, regenerator-runtime@^0.13.4: version "0.13.7" resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.7.tgz#cac2dacc8a1ea675feaabaeb8ae833898ae46f55" integrity sha512-a54FxoJDIr27pgf7IgeQGxmqUNYrcV338lf/6gH456HZ/PhX+5BcwHXG9ajESmwe6WRO0tAzRUrRmNONWgkrew==