Browserify can only analyze static requires: https://github.com/substack/node-browserify/issues/377#issuecomment-16213577