From 365548e1269cc854275a09b6235d2d096b05ee20 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Mon, 12 Jun 2017 18:20:43 +0200 Subject: Introduce index.ts file which defines public interface --- webpack.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'webpack.config.js') diff --git a/webpack.config.js b/webpack.config.js index c1f1a97df..3295c59c6 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -7,10 +7,10 @@ const path = require('path'); const production = process.env.NODE_ENV === 'production'; let entry = { - '0x': './src/0x.ts', + '0x': './src/index.ts', }; if (production) { - entry = _.assign({}, entry, {'0x.min': './src/0x.ts'}); + entry = _.assign({}, entry, {'0x.min': './src/index.ts'}); } module.exports = { -- cgit v1.2.3