{"size": 1476, "ext": "js", "max_stars_repo_path": "webpack.config.js", "max_stars_repo_name": "Jovem-Blood/server-list", "max_stars_repo_stars_event_min_datetime": "2021-04-13T19:33:03.000Z", "max_stars_repo_stars_event_max_datetime": "2021-08-18T20:20:50.000Z", "max_issues_repo_path": "webpack.config.js", "max_issues_repo_name": "Jovem-Blood/server-list", "max_issues_repo_issues_event_min_datetime": "2021-04-12T21:41:25.000Z", "max_issues_repo_issues_event_max_datetime": "2021-05-02T19:52:55.000Z", "max_forks_repo_path": "webpack.config.js", "max_forks_repo_name": "Jovem-Blood/server-list", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 3, "max_issues_count": 3, "max_forks_count": null, "avg_line_length": 22.7076923077, "max_line_length": 57, "alphanum_fraction": 0.3651761518}
const path = require('path');
const webpack = require('webpack');
const VueLoaderPlugin = require('vue-loader/lib/plugin');


module.exports = {
    entry: [
        './resources/js/index.js'
    ],
    output: {
        path: path.resolve(__dirname, 'themes/dist'),
    },
    mode: 'development',
    devtool: "source-map",
    module: {
        rules: [
            {
                test: /\.js$/,
                enforce: 'pre',
                use: ['source-map-loader'],
            },
            {
                test: /\.vue$/,
                loader: 'vue-loader'
            },
            {
                test: /\.css$/,
                use: [
                    'vue-style-loader',
                    {
                        loader: 'css-loader',
                        options: {
                            esModule: false
                        }
                    }
                ]
            }
        ]
    },
    resolve: {
        alias: {
            'vue$': 'vue/dist/vue.esm.js'
        }
    },
    plugins: [
        new VueLoaderPlugin(),
        new webpack.DefinePlugin({
            'process.env': {
                NODE_ENV: JSON.stringify('development')
            }
        }),
        new webpack.SourceMapDevToolPlugin({
            filename: "[file].map"
        })
    ],
    watch: true,
    watchOptions: {
        ignored: [
            '/node_modules/',
            '/vendor/',
            '*.php'
        ],
    },

};