[
  {
    "path": ".gitignore",
    "content": "/node_modules\n"
  },
  {
    "path": "LICENSE",
    "content": "The MIT License (MIT)\n\nCopyright (c) 2014 Gowrav Shekar\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
  },
  {
    "path": "README.md",
    "content": "font-awesome-webpack\n====================\n\nFont awesome configuration and loading package for webpack, using font-awesome (Less).\n\nBased on bootstrap-webpack by Scott Bleck (@bline).\n\nUsage\n-----\n\nTo properly load font-awesome fonts, you need to configure loaders in your `webpack.config.js`. Example:\n\n``` javascript\nmodule.exports = {\n  module: {\n    loaders: [\n      // the url-loader uses DataUrls.\n      // the file-loader emits files.\n      { test: /\\.woff(2)?(\\?v=[0-9]\\.[0-9]\\.[0-9])?$/, loader: \"url-loader?limit=10000&mimetype=application/font-woff\" },\n      { test: /\\.(ttf|eot|svg)(\\?v=[0-9]\\.[0-9]\\.[0-9])?$/, loader: \"file-loader\" }\n    ]\n  }\n};\n```\n\nFont awesome font urls are of the format `[dot][extension]?=[version-number]`, for example `.woff?v=4.2.0`\n\nThe Regex for font types are adjusted to support these formats. Regex also support urls ending with .woff, .ttf, .eot and .svg (Used by Bootstrap).\n\n### Complete Font-Awesome\n\nTo use the complete font-awesome package including all styles with the default settings:\n\n``` javascript\nrequire(\"font-awesome-webpack\");\n```\n\nThe `require` statement should be present in your application code(Entry file or any other file required in entry file) and not in webpack.config.js.\n\n### Custom configuration\n\nYou can configurate font-awesome-webpack with two configuration files:\n\n* `font-awesome.config.js`\n* `font-awesome.config.less`\n\nAdd both files *next to each other* in your project. Then:\n\n``` javascript\nrequire(\"font-awesome-webpack!./path/to/font-awesome.config.js\");\n```\n\nOr simple add it as entry point to your `webpack.config.js`:\n\n``` javascript\nmodule.exports = {\n  entry: [\n    \"font-awesome-webpack!./path/to/font-awesome.config.js\",\n    \"your-existing-entry-point\"\n  ]\n};\n```\n\n#### `font-awesome.config.js`\n\nExample:\n\n``` javascript\nmodule.exports = {\n  styles: {\n    \"mixins\": true,\n\n    \"core\": true,\n    \"icons\": true,\n\n    \"larger\": true,\n    \"path\": true,\n  }\n};\n```\n\n#### `font-awesome.config.less`\n\nImported after Font-Awesome's default variables, but before anything else.\n\nYou may customize Font-Awesome here.\n\nExample:\n\n``` less\n@fa-inverse: #eee;\n@fa-border-color: #ddd;\n```\n\n### extract-text-webpack-plugin\n\nConfigure style loader in `font-awesome.config.js`.\n\nExample:\n\n``` javascript\nmodule.exports = {\n  styleLoader: require('extract-text-webpack-plugin').extract('style-loader', 'css-loader!less-loader'),\n  styles: {\n    ...\n  }\n};\n```\n\nInstall `extract-text-webpack-plugin` before using this configuration.\n"
  },
  {
    "path": "font-awesome-styles.loader.js",
    "content": "var styles = [\n    'mixins',\n\n    'bordered-pulled',\n    'core',\n    'fixed-width',\n    'icons',\n    'larger',\n    'list',\n    'path',\n    'rotated-flipped',\n    'animated',\n    'stacked'\n];\n\nmodule.exports = function(content) {\n    this.cacheable(true);\n    var config = this.exec(content, this.resourcePath);\n    var start =\n            \"@import          \\\"~font-awesome/less/variables.less\\\";\\n\"\n            + \"@fa-font-path: \\\"~font-awesome/fonts/\\\";\\n\"\n            + \"@import          \\\"./font-awesome.config.less\\\";\\n\";\n    source = start + styles.filter(function(style) {\n        return config.styles[style];\n    }).map(function(style) {\n        return \"@import \\\"~font-awesome/less/\" + style + \".less\\\";\";\n    }).join(\"\\n\");\n    return source;\n};\n"
  },
  {
    "path": "font-awesome.config.js",
    "content": "module.exports = {\n    // Default for the style loading\n  styleLoader: 'style-loader!css-loader!less-loader',\n  \n    styles: {\n        'mixins': true,\n        'bordered-pulled': true,\n        'core': true,\n        'fixed-width': true,\n        'icons': true,\n        'larger': true,\n        'list': true,\n        'path': true,\n        'rotated-flipped': true,\n        'animated': true,\n        'stacked': true\n    }\n};\n"
  },
  {
    "path": "font-awesome.config.less",
    "content": "// Modify font-awesome variables here.\n\n// a example:\n// @fa-border-color: #ddd;\n\n"
  },
  {
    "path": "index.js",
    "content": "require(\"style-loader!css-loader!less-loader!./font-awesome-styles.loader.js!./font-awesome.config.js\");\n"
  },
  {
    "path": "index.loader.js",
    "content": "module.exports = function() {\n};\n\nmodule.exports.pitch = function (remainingRequest) {\n\n  // Webpack 1.7.3 uses this.resourcePath. Leaving in remaining request for possibly older versions\n  // of Webpack\n  var configFilePath = this.resourcePath || remainingRequest;\n  this.cacheable(true);\n\n  if (!configFilePath || configFilePath.trim() === '') {\n    var msg = 'You specified the font-awesome-webpack with no configuration file. Please specify' +\n      ' the configuration file, like: \\'font-awesome-webpack!./font-awesome.config.js\\' or use' +\n      ' require(\\'font-awesome-webpack\\').';\n    console.error('ERROR: ' + msg);\n    throw new Error(msg);\n  }\n  \n  var config = require(configFilePath);\n  var styleLoader = config.styleLoader || 'style-loader!css-loader!less-loader';\n\n  var styleLoaderCommand = 'require(' + JSON.stringify('-!' + styleLoader + '!' +\n      require.resolve('./font-awesome-styles.loader.js') + '!' + configFilePath) + ');';\n  return styleLoaderCommand;\n};"
  },
  {
    "path": "package.json",
    "content": "{\n    \"name\": \"font-awesome-webpack\",\n    \"version\": \"0.0.5-beta.2\",\n    \"description\": \"font-awesome package for webpack\",\n    \"main\": \"index.js\",\n    \"loader\": \"index.loader.js\",\n    \"scripts\": {\n        \"test\": \"echo \\\"Error: no test specified\\\" && exit 1\"\n    },\n    \"repository\": {\n        \"type\": \"git\",\n        \"url\": \"https://github.com/gowravshekar/font-awesome-webpack.git\"\n    },\n    \"keywords\": [\n        \"font-awesome\",\n        \"webpack\"\n    ],\n    \"author\": {\n        \"name\": \"Gowrav Shekar\",\n        \"url\": \"@gowravshekar\"\n    },\n    \"license\": \"MIT\",\n    \"bugs\": {\n        \"url\": \"https://github.com/gowravshekar/font-awesome-webpack/issues\"\n    },\n    \"dependencies\": {\n        \"css-loader\": \"~0.26.1\",\n        \"less-loader\": \"~2.2.3\",\n        \"style-loader\": \"~0.13.1\"\n    },\n    \"peerDependencies\": {\n        \"font-awesome\": \">=4.3.0\"\n    },\n    \"readme\": \"\",\n    \"readmeFilename\": \"README.md\",\n    \"homepage\": \"https://github.com/gowravshekar/font-awesome-webpack\",\n    \"_id\": \"font-awesome-webpack@0.0.1\",\n    \"_from\": \"font-awesome-webpack@\"\n}\n"
  }
]