diff options
author | Fabio Berger <me@fabioberger.com> | 2017-12-08 01:42:50 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-12-08 01:42:50 +0800 |
commit | 215e33fa6c1ca3c27712f5253daeaebf590f8983 (patch) | |
tree | cfee907308158726196d4edfebd7a9bc7064e76b /packages/subproviders/webpack.config.js | |
parent | 3d12b84f1d1ecf8eb6fa145f4bf124f0b7b484c1 (diff) | |
parent | be17b75ad3e043df6f4ff05ead0627cb9a45d93b (diff) | |
download | dexon-sol-tools-215e33fa6c1ca3c27712f5253daeaebf590f8983.tar dexon-sol-tools-215e33fa6c1ca3c27712f5253daeaebf590f8983.tar.gz dexon-sol-tools-215e33fa6c1ca3c27712f5253daeaebf590f8983.tar.bz2 dexon-sol-tools-215e33fa6c1ca3c27712f5253daeaebf590f8983.tar.lz dexon-sol-tools-215e33fa6c1ca3c27712f5253daeaebf590f8983.tar.xz dexon-sol-tools-215e33fa6c1ca3c27712f5253daeaebf590f8983.tar.zst dexon-sol-tools-215e33fa6c1ca3c27712f5253daeaebf590f8983.zip |
Merge branch 'feature/addSubproviders' into feature/portal-ledger-support
* feature/addSubproviders:
remove unneeded reset
Use rejectedWith
Add missing calls to configure
remove unneeded type assertions
remove unused type
Simplify interface to signPersonalMessageAsync
Fix unit test
Fix ethereumjs-tx declaration and import
Use assert.isHexString
Add type defs for ledgerco and ethereumjs-tx
Make test only run unit tests since cannot run integration tests on CI
Improve README
Fix version and remove the UMD build
Fix tslint error
Diffstat (limited to 'packages/subproviders/webpack.config.js')
-rw-r--r-- | packages/subproviders/webpack.config.js | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/packages/subproviders/webpack.config.js b/packages/subproviders/webpack.config.js deleted file mode 100644 index a73489704..000000000 --- a/packages/subproviders/webpack.config.js +++ /dev/null @@ -1,56 +0,0 @@ -/** - * This is to generate the umd bundle only - */ -const _ = require('lodash'); -const webpack = require('webpack'); -const path = require('path'); -const production = process.env.NODE_ENV === 'production'; - -let entry = { - 'index': './src/index.ts', -}; -if (production) { - entry = _.assign({}, entry, {'index.min': './src/index.ts'}); -} - -module.exports = { - entry, - output: { - path: path.resolve(__dirname, '_bundles'), - filename: '[name].js', - libraryTarget: 'umd', - library: '0x Subproviders', - umdNamedDefine: true, - }, - resolve: { - extensions: ['.ts', '.js', '.json'], - }, - devtool: 'source-map', - plugins: [ - new webpack.optimize.UglifyJsPlugin({ - minimize: true, - sourceMap: true, - include: /\.min\.js$/, - }), - ], - module: { - rules: [ - { - test: /\.ts$/, - use: [ - { - loader: 'awesome-typescript-loader', - query: { - declaration: false, - }, - }, - ], - exclude: /node_modules/, - }, - { - test: /\.json$/, - loader: 'json-loader', - }, - ], - }, -}; |