Open ghost opened 6 years ago
Every module included in a boilerplate should be jQuery free. This isn't Wordpressland so we could potentially push sites without the framework. What do you think?
Yeah I hear ya, we’re on the same page. I generally assume jquery as the non-negotiable dependency in most agencies whether we love it or hate it (the idealist in me is firmly in the latter camp)... but if you’re open to excluding jquery and going vanilla is then I’m totally on board. All of those module suggestions can be done without too much extra shim code.
Are there any deps you would still include as non-negotiable then? Lodash?
On Tue, 28 Aug 2018 at 11:09 am, Ben Rogerson notifications@github.com wrote:
Every module included in a boilerplate should be jQuery free. This isn't Wordpressland so we could potentially push sites without the framework. What do you think?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ben-rogerson/craft-gulp/issues/6#issuecomment-416422583, or mute the thread https://github.com/notifications/unsubscribe-auth/AD7iogfYd1TT7oB_oz6tUhrK9TSya8rcks5uVJ9bgaJpZM4WOsau .
--
Regards,
Aaron McCaffery Interactive Designer Ignite Media
M: +61 415 408558 W: ignitemedia.com.au
Lodash would be great to include by default as it lets you cherry pick the bits you need
Yeah that's exactly why I like it too. Super lightweight in that way
--
Regards,
Aaron McCaffery Interactive Designer Ignite Media
M: +61 415 408558 W: ignitemedia.com.au
On 28 August 2018 at 18:56, Ben Rogerson notifications@github.com wrote:
Lodash would be great to include by default as it lets you cherry pick the bits you need
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ben-rogerson/craft-gulp/issues/6#issuecomment-416514657, or mute the thread https://github.com/notifications/unsubscribe-auth/AD7iohlIlJ4ljKCDnxVuoaWLmvWFItg_ks5uVQzHgaJpZM4WOsau .
Make them super-duper descriptive, like
UpdateBodyHelperClassesOnResize UpdateBodyHelperClassesOnScroll UpdateBodyHelperClassesOnLoad TransitionInElementsOnScroll InjectInlineSVGs OpenMenuWhenBurgerClicked SkinVideos FlexPolyfill StickyPolyfill
...Then import them into your main entry point and comment out if not needed for certain jobs.