Skip to content

Include Etherpad core files into the bundle? #11

@muxator

Description

@muxator

Hi,
I am not a Webpack user, but maybe I can give some hints with this:

Include Etherpad core files into the bundle (this looks like a hard feature to implement);

In ether/etherpad#3603 I have more or less worked out what needs to be done to bundle etherpad core js files.

My solution there is a POC that uses browserify to create a single bundle.js. Migrating to Webpack (or integrating the two approaches) should be within reach.

My goal was getting rid of require-kernel (old and unsupported). This broke extension loading, but ep_webpack could probably bring back that functionality.

I guess in its current state ep_webpack is not able to dynamically recompile bundles, and thus we would be limited to a stop, rebuild, restart cycle, but this could be improved in the next steps.

Just an idea with no timeline for now. Let me know if you think it is worth working on it.

p.s.: a quick reference for comparing browserify and Webpack can be found here: browserify for webpack users.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions