-
-
Notifications
You must be signed in to change notification settings - Fork 334
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(build): allow individual components to be build separately only
Individual components will have their .css/.js file generated under /dist/components, but are not included in semantic.css and semantic.js. This is useful for including components in your project only if you need them, while keeping the file size of the main .css/.js file down. To accomplish this, simply add a new array to your semantic.json: ``` "individuals": [ form, modal, step ] ``` Don't forget to remove these items from the "components" array. This change should be fully backwards compatible. It only changes the src variable if an "individuals" array has been defined in the config.
- Loading branch information
Showing
3 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters