Fix lights

This commit is contained in:
schmelczerandras 2020-09-20 19:23:22 +02:00
parent 13843f87a8
commit e44be0c5ee
17 changed files with 179 additions and 117 deletions

View file

@ -14,7 +14,7 @@ module.exports = {
output: {
path: PATHS.bundles,
filename: '[name].js',
library: 'SDF2D',
library: 'sdf-2d',
libraryTarget: 'umd',
umdNamedDefine: true,
},
@ -23,8 +23,12 @@ module.exports = {
aggregateTimeout: 600,
ignored: /node_modules/,
},
externals: {
'gl-matrix': 'gl-matrix',
},
optimization: {
minimize: true,
usedExports: true,
minimizer: [
new TerserJSPlugin({
sourceMap: true,