Pick and choose modules to include

What is the best practice to pick and choose which modules to include in Foundation? Should I comment the “import” line and/or the “plugin” line in foundation-explicit-pieces.js for those modules I want to exclude?
Thank you.

Both parts are needed, the import and the actual plugin initialization.

1 Like

Hi Daniel,
I think my question wasn’t completely clear, I’ve edited already.
Should I want to exclude modules, do I have to comment both the import and the init lines?
Thank you.

Yes, exactly. Comment both out.

2 Likes