You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add a core.umd.js bundle to published package #3534
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?
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
Activity
devversion commentedon Mar 9, 2017
@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.mikekhaas commentedon Mar 9, 2017
That's fine I'll keep rebasing off your branch until it gets merged!
mikekhaas commentedon Mar 9, 2017
@devversion meaning point my app's build to
CoreModuleand compile that?devversion commentedon Mar 9, 2017
@mikehaas763 Yeah just using
MdCoreModuleinstead ofMaterialModulewould do it.Make sure you have a bundler, like Webpack 2, that automatically removes the unused chunk of code.
mikekhaas commentedon Mar 9, 2017
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
devversion commentedon Mar 25, 2017
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.jsbundle.angular-automatic-lock-bot commentedon Sep 5, 2019
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.