{"action":"created","issue":{"url":"https://api.github.com/repos/GwtMaterialDesign/gwt-material/issues/273","repository_url":"https://api.github.com/repos/GwtMaterialDesign/gwt-material","labels_url":"https://api.github.com/repos/GwtMaterialDesign/gwt-material/issues/273/labels{/name}","comments_url":"https://api.github.com/repos/GwtMaterialDesign/gwt-material/issues/273/comments","events_url":"https://api.github.com/repos/GwtMaterialDesign/gwt-material/issues/273/events","html_url":"https://github.com/GwtMaterialDesign/gwt-material/issues/273","id":138033354,"number":273,"title":"Unbundle GMD assets","user":{"login":"hrstoyanov","id":5327044,"avatar_url":"https://avatars.githubusercontent.com/u/5327044?v=3","gravatar_id":"","url":"https://api.github.com/users/hrstoyanov","html_url":"https://github.com/hrstoyanov","followers_url":"https://api.github.com/users/hrstoyanov/followers","following_url":"https://api.github.com/users/hrstoyanov/following{/other_user}","gists_url":"https://api.github.com/users/hrstoyanov/gists{/gist_id}","starred_url":"https://api.github.com/users/hrstoyanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hrstoyanov/subscriptions","organizations_url":"https://api.github.com/users/hrstoyanov/orgs","repos_url":"https://api.github.com/users/hrstoyanov/repos","events_url":"https://api.github.com/users/hrstoyanov/events{/privacy}","received_events_url":"https://api.github.com/users/hrstoyanov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-03T00:14:49Z","updated_at":"2016-03-03T01:29:42Z","closed_at":null,"body":"Currently, the only way to use GMD is via the client bundles - JS, CSS, image assets are injected with GWT scrip injector. This creates 2 major issues:\r\n1. A user may want to download the asset from a dedicated CDN\r\n2. For a web designer, there is no way to preview the HTML without running the project through gwt compilation (and develop templates in the awful *.ui.xml GWT  format that will be dropped from future GWT releases)\r\n\r\nTo mitigate this, can we add one more base module class that does not do any  resource injections in  the module. For example:\r\n```\r\npublic class MaterialDesignBare implements EntryPoint{\r\n\r\n   @Override\r\n    public void onModuleLoad() {\r\n        //do nothing\r\n    }\r\n}\r\n```\r\nSame goes for the addins module. It will become responsibility of the developer/designer to incorporate the necessary assets (js,css,images,fonts.). Further, can we document and prepare, as part of the distribution one compressed/minified JS and  CSS files, just like the materializecsss.com and getmdl.io and many others package their deliverables? This will allow developers who  do not want to deal with legacy GWT UI binder to still use this project. \r\n\r\nAs GMD uses Maven, take a look at this plug-in for minifying js and css:\r\nhttp://stackoverflow.com/questions/12458017/how-to-compress-js-and-css-in-java-at-build-time-using-maven-minify-plugin-with\r\n"},"comment":{"url":"https://api.github.com/repos/GwtMaterialDesign/gwt-material/issues/comments/191528042","html_url":"https://github.com/GwtMaterialDesign/gwt-material/issues/273#issuecomment-191528042","issue_url":"https://api.github.com/repos/GwtMaterialDesign/gwt-material/issues/273","id":191528042,"user":{"login":"hrstoyanov","id":5327044,"avatar_url":"https://avatars.githubusercontent.com/u/5327044?v=3","gravatar_id":"","url":"https://api.github.com/users/hrstoyanov","html_url":"https://github.com/hrstoyanov","followers_url":"https://api.github.com/users/hrstoyanov/followers","following_url":"https://api.github.com/users/hrstoyanov/following{/other_user}","gists_url":"https://api.github.com/users/hrstoyanov/gists{/gist_id}","starred_url":"https://api.github.com/users/hrstoyanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hrstoyanov/subscriptions","organizations_url":"https://api.github.com/users/hrstoyanov/orgs","repos_url":"https://api.github.com/users/hrstoyanov/repos","events_url":"https://api.github.com/users/hrstoyanov/events{/privacy}","received_events_url":"https://api.github.com/users/hrstoyanov/received_events","type":"User","site_admin":false},"created_at":"2016-03-03T01:29:42Z","updated_at":"2016-03-03T01:29:42Z","body":"... well ... that may be not possible . I just realized that that the UI Binder stuff is everywhere"}}