const path = require("path");

module.exports = {
    entry: [
        "./fontawesome/fontawesome.js"
    ],
    output: {
        filename: "fontawesome.js",
        path: path.join(__dirname, "./web/js")
    },
    resolve: {
        alias: {
            '@fontawesome-pro-solid$': 'node_modules/fortawesome/fontawesome-pro-solid/shakable.es.js',
            '@fontawesome-pro-regular$': 'node_modules/fortawesome/fontawesome-pro-regular/shakable.es.js',
            '@fontawesome-pro-light$': 'node_modules/fortawesome/fontawesome-pro-light/shakable.es.js',
            '@fontawesome-free-brands$': 'node_modules/fortawesome/fontawesome-free-brands/shakable.es.js'
        }
    }
};
