This commit is contained in:
schmelczerandras 2020-09-18 15:26:05 +02:00
parent 2481cfc3e6
commit 5d83a54613
2 changed files with 7 additions and 7 deletions

View file

@ -1,7 +1,7 @@
{
"name": "sdf-2d",
"version": "0.0.0",
"description": "Graphics framework for efficiently handling 2D signed distance fields.",
"version": "0.1.0-alpha",
"description": "Graphics framework for efficiently rendering 2D signed distance fields.",
"keywords": [
"webgl",
"glsl",

View file

@ -1,7 +1,7 @@
var path = require('path');
const path = require('path');
const TerserJSPlugin = require('terser-webpack-plugin');
var PATHS = {
const PATHS = {
entryPoint: path.resolve(__dirname, 'src/main.ts'),
bundles: path.resolve(__dirname, 'lib'),
};
@ -23,9 +23,6 @@ module.exports = {
aggregateTimeout: 600,
ignored: /node_modules/,
},
resolve: {
extensions: ['.ts', '.js'],
},
optimization: {
minimize: true,
minimizer: [
@ -52,4 +49,7 @@ module.exports = {
},
],
},
resolve: {
extensions: ['.ts', '.js'],
},
};