diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-09-28 19:09:16 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-09-28 19:09:16 +0800 |
commit | 2471e1034664c348cb9fa4646b306f48c44572ec (patch) | |
tree | deae8e9a3f911784eb611b91525b2030d114c08b /packages/instant/webpack.config.js | |
parent | a737cfa004ee1dc18be935f61fb9c289ed5623fd (diff) | |
download | dexon-sol-tools-2471e1034664c348cb9fa4646b306f48c44572ec.tar dexon-sol-tools-2471e1034664c348cb9fa4646b306f48c44572ec.tar.gz dexon-sol-tools-2471e1034664c348cb9fa4646b306f48c44572ec.tar.bz2 dexon-sol-tools-2471e1034664c348cb9fa4646b306f48c44572ec.tar.lz dexon-sol-tools-2471e1034664c348cb9fa4646b306f48c44572ec.tar.xz dexon-sol-tools-2471e1034664c348cb9fa4646b306f48c44572ec.tar.zst dexon-sol-tools-2471e1034664c348cb9fa4646b306f48c44572ec.zip |
Have React setup with basic build working
Diffstat (limited to 'packages/instant/webpack.config.js')
-rw-r--r-- | packages/instant/webpack.config.js | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/packages/instant/webpack.config.js b/packages/instant/webpack.config.js new file mode 100644 index 000000000..f7500c69c --- /dev/null +++ b/packages/instant/webpack.config.js @@ -0,0 +1,20 @@ +const path = require('path'); +module.exports = { + entry: './src/index.ts', + output: { + filename: '[name].bundle.js', + path: path.resolve(__dirname, 'lib'), + }, + devtool: 'source-map', + resolve: { + extensions: ['.js', '.json', '.ts', '.tsx'], + }, + module: { + rules: [ + { + test: /\.(ts|tsx)$/, + loader: 'awesome-typescript-loader', + }, + ], + }, +}; |