You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Semantic Ui allows for a "components" array in the semantic.json file to allow only importing modules of SUI that you want. When I build in Ember I seem to only always get the full installation of Semantic UI compiled into the vendor.js, that is, all .css and .js modules get built, despite only specifying "reset" as my config as follows:
I hope I'm just totally missing something here, but is this supported? If not, I can manually build into the vendor directory and hard-link in the index.html file, but that makes sad face. :(
I also tried autoInstall true and false but does not seem to affect build.
Thanks!
The text was updated successfully, but these errors were encountered:
Semantic Ui allows for a "components" array in the semantic.json file to allow only importing modules of SUI that you want. When I build in Ember I seem to only always get the full installation of Semantic UI compiled into the vendor.js, that is, all .css and .js modules get built, despite only specifying "reset" as my config as follows:
"components": ["reset"]
Here's the full semantic.json config:
{ "base": "semantic/", "paths": { "source": { "config": "src/theme.config", "definitions": "src/definitions/", "site": "src/site/", "themes": "src/themes/" }, "output": { "packaged": "../dist/assets/", "uncompressed": "dist/components/", "compressed": "dist/components/", "themes": "dist/themes/" }, "clean": "dist/" }, "permission": false, "autoInstall": false, "rtl": false, "version": "2.3.2", "components": ["reset"] }
I hope I'm just totally missing something here, but is this supported? If not, I can manually build into the vendor directory and hard-link in the index.html file, but that makes sad face. :(
I also tried autoInstall true and false but does not seem to affect build.
Thanks!
The text was updated successfully, but these errors were encountered: