From 5d83a54613a23a873da85edcd721fcc48b4bd811 Mon Sep 17 00:00:00 2001 From: schmelczerandras Date: Fri, 18 Sep 2020 15:26:05 +0200 Subject: [PATCH] Refactor --- package.json | 4 ++-- webpack.config.js | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 8f8d9af..db7a524 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/webpack.config.js b/webpack.config.js index 7878d80..217c655 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -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'], + }, };