Skip to content

Separate entry for web bundle - #4386

Merged
duailibe merged 5 commits into
prettier:masterfrom
duailibe:web
Apr 26, 2018
Merged

duailibe merged 5 commits into
prettier:masterfrom
duailibe:web

Conversation

@duailibe

@duailibe duailibe commented Apr 26, 2018 •

Copy link
Copy Markdown
Collaborator

Follow up on #4364. This PR extracts core functionality that was present in index.js to main/ and creates a web.js entry point.

It's still not exposed after the build, gonna do that in follow-up PRs but I'd like to get that merged in already to prevent conflicts later 😂

Comment thread src/main/range-util.js
}

// See https://www.ecma-international.org/ecma-262/5.1/#sec-A.5
function isSourceElement(opts, node) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be extracted to the plugins?

@duailibe duailibe Apr 26, 2018 •

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think so, but no plugin author asked for this yet

@duailibe
duailibe merged commit 8015e41 into prettier:master Apr 26, 2018
@duailibe
duailibe deleted the web branch April 26, 2018 16:39
@duailibe duailibe mentioned this pull request Apr 27, 2018
@lipis lipis added this to the 1.13 milestone May 9, 2018
@lock lock Bot added the locked-due-to-inactivity Please open a new issue and fill out the template instead of commenting. label Aug 7, 2018
@lock lock Bot locked as resolved and limited conversation to collaborators Aug 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

locked-due-to-inactivity Please open a new issue and fill out the template instead of commenting.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants