{"action":"created","issue":{"url":"https://api.github.com/repos/ember-cli/babel-plugin-feature-flags/issues/13","repository_url":"https://api.github.com/repos/ember-cli/babel-plugin-feature-flags","labels_url":"https://api.github.com/repos/ember-cli/babel-plugin-feature-flags/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/ember-cli/babel-plugin-feature-flags/issues/13/comments","events_url":"https://api.github.com/repos/ember-cli/babel-plugin-feature-flags/issues/13/events","html_url":"https://github.com/ember-cli/babel-plugin-feature-flags/issues/13","id":173800475,"number":13,"title":"'broccoli-babel-transpiler is opting out of caching' warning","user":{"login":"cesarizu","id":658725,"avatar_url":"https://avatars.githubusercontent.com/u/658725?v=3","gravatar_id":"","url":"https://api.github.com/users/cesarizu","html_url":"https://github.com/cesarizu","followers_url":"https://api.github.com/users/cesarizu/followers","following_url":"https://api.github.com/users/cesarizu/following{/other_user}","gists_url":"https://api.github.com/users/cesarizu/gists{/gist_id}","starred_url":"https://api.github.com/users/cesarizu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cesarizu/subscriptions","organizations_url":"https://api.github.com/users/cesarizu/orgs","repos_url":"https://api.github.com/users/cesarizu/repos","events_url":"https://api.github.com/users/cesarizu/events{/privacy}","received_events_url":"https://api.github.com/users/cesarizu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-29T15:23:28Z","updated_at":"2016-08-29T15:47:57Z","closed_at":null,"body":"When running an ember-cli app I see the following warning:\r\n\r\n```\r\nWARNING: broccoli-babel-transpiler is opting out of caching due to a plugin that does not provide a caching strategy: `function (babel) {\r\n    var t = babel.types;\r\n\r\n    return new babel.Transformer('babel-plugin-feature-flags', {\r\n      CallExpression: function(node, parent, scope, file) {\r\n        var callee = this.get('callee');\r\n        if (callee.referencesImport(options.import.module, options.import.name)) {\r\n          var featureName = getFeatureName(node);\r\n          if (featureName in options.features) {\r\n            var value = options.features[featureName];\r\n\r\n            if (typeof value === 'boolean') {\r\n              this.replaceWith(t.literal(value));\r\n            }\r\n          } else {\r\n            file.log.error(\"An unknown feature '\" + featureName + \"'' was encountered\");\r\n          }\r\n        }\r\n      }\r\n    });\r\n  }`.\r\n```\r\n\r\nI suspect this is making the builds slower, is there something I can do about this?\r\n\r\nP.S. With some guidance I could prepare a PR to fix this issue."},"comment":{"url":"https://api.github.com/repos/ember-cli/babel-plugin-feature-flags/issues/comments/243164539","html_url":"https://github.com/ember-cli/babel-plugin-feature-flags/issues/13#issuecomment-243164539","issue_url":"https://api.github.com/repos/ember-cli/babel-plugin-feature-flags/issues/13","id":243164539,"user":{"login":"Turbo87","id":141300,"avatar_url":"https://avatars.githubusercontent.com/u/141300?v=3","gravatar_id":"","url":"https://api.github.com/users/Turbo87","html_url":"https://github.com/Turbo87","followers_url":"https://api.github.com/users/Turbo87/followers","following_url":"https://api.github.com/users/Turbo87/following{/other_user}","gists_url":"https://api.github.com/users/Turbo87/gists{/gist_id}","starred_url":"https://api.github.com/users/Turbo87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Turbo87/subscriptions","organizations_url":"https://api.github.com/users/Turbo87/orgs","repos_url":"https://api.github.com/users/Turbo87/repos","events_url":"https://api.github.com/users/Turbo87/events{/privacy}","received_events_url":"https://api.github.com/users/Turbo87/received_events","type":"User","site_admin":false},"created_at":"2016-08-29T15:47:57Z","updated_at":"2016-08-29T15:47:57Z","body":"this should be resolved by https://github.com/ember-cli/babel-plugin-feature-flags/pull/12 already. try to run `npm ls babel-plugin-feature-flags` to see if you have an outdated dependency somewhere."}}
{"actor":{"display_login":"Turbo87"}}