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

semantic.json "components" not supported? #236

Open
archebyte opened this issue Jun 26, 2018 · 1 comment
Open

semantic.json "components" not supported? #236

archebyte opened this issue Jun 26, 2018 · 1 comment

Comments

@archebyte
Copy link

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!

@archebyte
Copy link
Author

Sorry, looks like duplicate of #171

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

1 participant