haltu / muuri

Infinite responsive, sortable, filterable and draggable layouts
https://muuri.dev
MIT License
10.8k stars 643 forks source link

Tooling improvements and better build process #137

Closed niklasramo closed 6 years ago

niklasramo commented 6 years ago

I think it's time we revise Muuri's tooling and build process. Currently Muuri is just a single JavaScript file and it's pretty big. We definitely need to split it into logical modules so that it's easier for potential contributors to help out and understand what's going on and where.

I'm also thinking about adopting Prettier for code style formatting and Rollup for bundling. Let's see what we come up with.

awreccan commented 6 years ago

I've worked on splitting muuri.js into multiple files as part of react-muuri :) But it's a reactified version.

On Fri, 19 Jan 2018 at 15:08 Niklas Rämö notifications@github.com wrote:

I think it's time we revise Muuri's tooling and build process. Currently Muuri is just a single JavaScript file https://github.com/haltu/muuri/blob/master/muuri.js and it's pretty big. We definitely need to split it into logical modules so that it's easier for potential contributors to help out and understand what's going on and where.

I'm also thinking about adopting Prettier https://github.com/prettier/prettier for code style formatting and Rollup https://github.com/rollup/rollup for bundling. Let's see what we come up with.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/haltu/muuri/issues/137, or mute the thread https://github.com/notifications/unsubscribe-auth/AKDhlS_LJ_u-YhUuMm4akM-yqtPfMLhqks5tMD9cgaJpZM4RkEar .

niklasramo commented 6 years ago

This is now done in dev branch, with Rollup and Prettier.