Repository navigation
Conversation
|
Another option is to ship the |
|
Well I guess it comes down to testing if this is a performance regression or not. |
|
I would advise against using webpack for the bundle, because I've seen some strange issues occur when nesting webpack module wrappers (which is what happens when you pull a webpack-ified file into a webpack build). That could cause some pain for people using prettier in the browser. |
|
I'm thinking maybe:
This way we could support:
|
|
I think I like this approach so far. Implementation looks much cleaner than before. |
|
Has anyone used |
It seems like it includes them when you run
I’d assume so — |
|
I'm doing a clean up of stale PRs, closing this one. I didn't get where I wanted to get to with this and ran out of steam. Maybe I'll try again soon but the current system works ok for the moment. |
Idea is to remove all the
eval("require")calls, and replace them with Rolluppaths/externals.Currently the
dist/directory looks like this:Details
At the moment the dynamic requires are not being preserved by Rollup. I wonder if it is even possible to preserve them due to the nature of Rollup. Maybe Webpack might be a better for the
index.jsfile.❓I wanted to get some feedback on whether this approach makes sense before sinking too much time into it.
Fixes #3574
Fixes #3698