webgl-benchmark
Version:
Benchmark WebGL performance using different JavaScript rendering/game engines, such as Pixi and Phaser.
23 lines (21 loc) • 353 B
JavaScript
const path = require('path');
module.exports = {
entry: {
app: './src/js/index.js'
},
output: {
path: path.resolve(__dirname, 'dist')
},
optimization: {
runtimeChunk: 'single',
splitChunks: {
cacheGroups: {
vendor: {
test: /[\\/]node_modules[\\/]|[\\/]vendor[\\/]/,
name: 'vendors',
chunks: 'all'
}
}
}
}
}