Fixed minor issues in sdc-pubusb

Change-Id: I9d667fbb1740376e686824335f2dbae242f8d00c
Issue-ID: SDC-2032
Signed-off-by: Idan Amit <idan.amit@intl.att.com>
diff --git a/webpack.config.js b/webpack.config.js
index 73c10dd..2806bd9 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -3,9 +3,9 @@
 var UglifyJsPlugin = require("uglifyjs-webpack-plugin");
 
 var PATHS = {
-  entryPoint: path.resolve(__dirname, 'index.ts'),
+  entryPoint: path.resolve(__dirname, './index.ts'),
   bundles: path.resolve(__dirname, 'dist'),
-}
+};
 
 var config = {
   // These are the entry point of our library. We tell webpack to use
@@ -13,8 +13,8 @@
   // the name to filter the second entry point for applying code
   // minification via UglifyJS
   entry: {
-    'sdc-pubsub': [PATHS.entryPoint],
-    'sdc-pubsub.min': [PATHS.entryPoint]
+    'sdc-pubsub': PATHS.entryPoint,
+    'sdc-pubsub.min': PATHS.entryPoint
   },
   // The output defines how and where we want the bundles. The special
   // value `[name]` in `filename` tell Webpack to use the name we defined above.
@@ -55,14 +55,14 @@
         test: /\.ts?$/,
         use: [
           {
-            loader: 'awesome-typescript-loader',
+            loader: 'ts-loader',
             options: {
-              configFileName: 'tsconfig.json'
+              configFile: 'tsconfig.json'
             }
           }
         ]
     }]
   }
-}
+};
 
 module.exports = config;
\ No newline at end of file