From f7422ed7f826c3943107779900750674821b7ac7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20H=C3=BCbleitner?= Date: Sun, 28 Jul 2019 12:15:26 +0200 Subject: [PATCH] removed static folder and unused webpack.config --- package-lock.json | 5 +++++ package.json | 1 + static/index.html | 29 ----------------------------- webpack.config.js | 46 ---------------------------------------------- 4 files changed, 6 insertions(+), 75 deletions(-) delete mode 100644 static/index.html delete mode 100644 webpack.config.js diff --git a/package-lock.json b/package-lock.json index 194f5f5..56db9f2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -383,6 +383,11 @@ "@types/yargs": "^12.0.9" } }, + "@types/angular": { + "version": "1.6.55", + "resolved": "https://registry.npmjs.org/@types/angular/-/angular-1.6.55.tgz", + "integrity": "sha512-jpQ5K6t76thd9Ook5x4Xj9K462hMje6/Q84SFxglBmaW8HOLblVnALpvg6w6aV3Oe6o9jWXnYH8gHHKrfSRxNQ==" + }, "@types/babel__core": { "version": "7.1.2", "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.1.2.tgz", diff --git a/package.json b/package.json index e04f979..67d74f1 100644 --- a/package.json +++ b/package.json @@ -14,6 +14,7 @@ "author": "frontblock.me", "license": "ISC", "dependencies": { + "@types/angular": "^1.6.55", "@types/express": "^4.17.0", "@types/node": "^11.13.17", "@types/webpack-env": "^1.14.0", diff --git a/static/index.html b/static/index.html deleted file mode 100644 index 56e10cc..0000000 --- a/static/index.html +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - yo whatup wallets are here
- yo whatup paymentmanager is here
- - - - - - - - - - - - - - - - - - - - diff --git a/webpack.config.js b/webpack.config.js deleted file mode 100644 index f687574..0000000 --- a/webpack.config.js +++ /dev/null @@ -1,46 +0,0 @@ -var path = require('path'); -const TerserPlugin = require('terser-webpack-plugin'); - - -module.exports = { - mode: 'production', - entry: path.resolve(__dirname, 'lib/FrontblockLib.js'), - output: { - path: path.resolve(__dirname, 'static'), - filename: 'FrontblockLib.js', - }, - module: { - rules: [ - { test: /\FrontblockLib.ts/, use: 'ts-loader' } - ] - }, - optimization: { - minimizer: [new TerserPlugin({ - cache: true, - parallel: true, - terserOptions:{ - mangle: false, - keep_classnames: true - } - })], - splitChunks: { - cacheGroups: { - common: { - chunks: 'all', - minChunks: 2, - maxInitialRequests: 5, - minSize: 0, - name: 'common' - }, - vendor: { - test: /node_modules/, - chunks: 'all', - name: 'vendor', - priority: 10, - enforce: true, - minChunks: 2 - } - } - } - }, -}; \ No newline at end of file