Skip to content

Add a core.umd.js bundle to published package #3534

Closed

Description

@mikekhaas

I'm willing to put the PR together for this. I would like to rely on Overlay and Portal. So it'd be nice to import just a material core.umd.js and avoid the other Material components.

Will the PR be considered/accepted if I take time putting it together?

Activity

  1. devversion commented on Mar 9, 2017

    @devversion
    Member

    @jelbourn If we do this, then I would highly recommend after PR #3443. Otherwise there will be X rebases.

    Also I think if you just want to use the CoreModule, you can just use the module and use treeshaking to get rid of the other components.

  2. mikekhaas commented on Mar 9, 2017

    @mikekhaas
    Author

    That's fine I'll keep rebasing off your branch until it gets merged!

  3. mikekhaas commented on Mar 9, 2017

    @mikekhaas
    Author

    @devversion meaning point my app's build to CoreModule and compile that?

  4. devversion commented on Mar 9, 2017

    @devversion
    Member

    @mikehaas763 Yeah just using MdCoreModule instead of MaterialModule would do it.

    Make sure you have a bundler, like Webpack 2, that automatically removes the unused chunk of code.

  5. mikekhaas commented on Mar 9, 2017

    @mikekhaas
    Author

    Yeah and I've done that before but it always had weird issues when pointing my apps build at something in node_modules. You gotta pretty much set up a completely separate config that ignores any linting etc. would just be nice to consumers to have a core bundle already built

  6. devversion commented on Mar 25, 2017

    @devversion
    Member

    The package structure has changed. Currently we only ship a bundle of the full Material library.

    We have plans on shipping the different components bundled as well. This would then include a core.js bundle.

  7. angular-automatic-lock-bot commented on Sep 5, 2019

    @angular-automatic-lock-bot

    This issue has been automatically locked due to inactivity.
    Please file a new issue if you are encountering a similar or related problem.

    Read more about our automatic conversation locking policy.

    This action has been performed automatically by a bot.

  8. locked and limited conversation to collaborators on Sep 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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