Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build tool #9

Open
nwtn opened this issue May 15, 2014 · 4 comments
Open

Build tool #9

nwtn opened this issue May 15, 2014 · 4 comments

Comments

@nwtn
Copy link

nwtn commented May 15, 2014

Has there been any discussion of a build tool that allows customization of components that are included? Something like Modernizr?

@LaurentGoderre
Copy link
Member

It was mentioned a couple of times but we are at a point where this kind of functionality may do more harm than good. The size of the optimized is so small that splitting it may create bigger size since it would make CDN hosting more difficult.

@nwtn
Copy link
Author

nwtn commented May 15, 2014

There's no CDN hosting now, though, right?

Anyway, for me it's not entirely about size, but also about swapping out components. For example, if I want to use tablesaw instead of WET-BOEW's responsive tables, there (a) may be conflicts, and (b) will definitely be unused, redundant code.

@LaurentGoderre
Copy link
Member

Not right now but we want to get it to a CDN. I doubt that there would be conflicts because everything is very well encapsulated and plugins are only triggered when the right class is added so there is nothing stopping you from using an alternative solution.

Also, many plugins rely on external components that are only loaded as needed, therefore you wouldn't incur the size hit of those plugins if you don't use them.

@nschonni
Copy link
Member

A precursor to a build tool is to have and AMD/UMD build that can work out what components depend on each other. The second part of it is fully splitting out the SCSS sheets to consistently use variables for colours throughout the sheets.

I want to do this, but I haven't grokk'd RequireJS yet 😦

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants