Skip to content

Would it make sense to separate the client and server node_modules? #6

Open
@janKir

Description

@janKir

It's actually not an issue but more of an question. I'm wondering why server and client share the same packages.json and node_modules (in this repo and in the Meteor-IonicCLI tutorial etc). Besides a probably larger diskspace when having the same package twice, is there any reason to not seperating them? The server does not need e.g. all the Angular packages and there might also be some server only packages.

I tried separating both (which works fine for me) and I feel that meteor is now compiling faster, too, although, I have not really tested that.

Furthermore, I'm not sure which packages are needed only by client / server. Also, are there any Meteor packages that can be removed? For example, what about mobile-experience, standard-minifier-css and standard-minifier-js?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions