Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hi. good bro vite to build fail [commonjs--resolver] Expected ';', '}' #1367

Closed
xiaomao996688 opened this issue Feb 29, 2024 · 1 comment
Closed
Milestone

Comments

@xiaomao996688
Copy link

i use vite to build the project
but find
commonjs--resolver] Expected ';', '}' or <eof> in /Users/zhoulonglong/Desktop/workspace/Builder/node_modules/suneditor/src/lib/core.js file: /Users/zhoulonglong/Desktop/workspace/Builder/node_modules/suneditor/src/lib/core.js:1165:82 1163: */ 1164: getSelectionNode: function () { 1165: if (!context.element.wysiwyg.contains(this._variable._selectionNode)) this._editorRange(); ^ 1166: if (!this._variable._selectionNode) { 1167: const selectionNode = util.getChildElement(context.element.wysiwyg.firstChild, function (

To Solution
if (!context.element.wysiwyg.contains(this._variable._selectionNode)) {this._editorRange();}
Hope it can be solved

@xiaomao996688 xiaomao996688 changed the title Hi. good bro Hi. good bro vite to build fail [commonjs--resolver] Expected ';', '}' Feb 29, 2024
@JiHong88 JiHong88 added this to the 2.45.2 milestone Mar 2, 2024
@JiHong88 JiHong88 closed this as completed Mar 2, 2024
@Anishadahal
Copy link

Could you please inform when this fix will be released?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants