Refactor
This commit is contained in:
parent
2481cfc3e6
commit
5d83a54613
2 changed files with 7 additions and 7 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "sdf-2d",
|
"name": "sdf-2d",
|
||||||
"version": "0.0.0",
|
"version": "0.1.0-alpha",
|
||||||
"description": "Graphics framework for efficiently handling 2D signed distance fields.",
|
"description": "Graphics framework for efficiently rendering 2D signed distance fields.",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"webgl",
|
"webgl",
|
||||||
"glsl",
|
"glsl",
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
var path = require('path');
|
const path = require('path');
|
||||||
const TerserJSPlugin = require('terser-webpack-plugin');
|
const TerserJSPlugin = require('terser-webpack-plugin');
|
||||||
|
|
||||||
var PATHS = {
|
const PATHS = {
|
||||||
entryPoint: path.resolve(__dirname, 'src/main.ts'),
|
entryPoint: path.resolve(__dirname, 'src/main.ts'),
|
||||||
bundles: path.resolve(__dirname, 'lib'),
|
bundles: path.resolve(__dirname, 'lib'),
|
||||||
};
|
};
|
||||||
|
|
@ -23,9 +23,6 @@ module.exports = {
|
||||||
aggregateTimeout: 600,
|
aggregateTimeout: 600,
|
||||||
ignored: /node_modules/,
|
ignored: /node_modules/,
|
||||||
},
|
},
|
||||||
resolve: {
|
|
||||||
extensions: ['.ts', '.js'],
|
|
||||||
},
|
|
||||||
optimization: {
|
optimization: {
|
||||||
minimize: true,
|
minimize: true,
|
||||||
minimizer: [
|
minimizer: [
|
||||||
|
|
@ -52,4 +49,7 @@ module.exports = {
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
resolve: {
|
||||||
|
extensions: ['.ts', '.js'],
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue