mirror of
https://github.com/chenasraf/strange-tactics.git
synced 2026-05-17 17:58:04 +00:00
23 lines
449 B
JavaScript
23 lines
449 B
JavaScript
let path = require('path')
|
|
|
|
module.exports = {
|
|
entry: './lib/game.js',
|
|
output: {
|
|
filename: 'bundle.js',
|
|
path: path.resolve(__dirname, 'dist')
|
|
},
|
|
devtool: "source-map",
|
|
// module: {
|
|
// rules: [{
|
|
// test: /\.js$/,
|
|
// exclude: /(node_modules|bower_components)/,
|
|
// use: {
|
|
// loader: 'babel-loader',
|
|
// options: {
|
|
// presets: ['env', 'es2016']
|
|
// }
|
|
// }
|
|
// }]
|
|
// }
|
|
}
|