aboutsummaryrefslogtreecommitdiff
path: root/webpack.config.js
blob: 48f638ce1c703409ae97140a3340f96a907d8e5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
module.exports = {
    entry: './webAO/ui.js',
    output: {
        filename: './webAO/ui.b.js'
    },
    module: {
        rules: [
            {
                test: /\.js?$/,
                exclude: /node_modules/,
                use: {
                    loader: 'babel-loader',
                    options: {
                        presets: ['es2015']
                    }
                }
            }
        ]
    }
}