diff options
author | Idan Amit <idan.amit@intl.att.com> | 2019-01-03 18:18:37 +0200 |
---|---|---|
committer | Ofir Sonsino <ofir.sonsino@intl.att.com> | 2019-01-06 09:18:00 +0000 |
commit | bbeb590aaff56ff3364b852f6149b220581b58a1 (patch) | |
tree | c775c17faead68b8b7658516715a41a88476031c /webpack.config.js | |
parent | 3cd900684dc33d5ca07e977df724a0c179a91fa9 (diff) |
Fixed minor issues in sdc-pubusb
Change-Id: I9d667fbb1740376e686824335f2dbae242f8d00c
Issue-ID: SDC-2032
Signed-off-by: Idan Amit <idan.amit@intl.att.com>
Diffstat (limited to 'webpack.config.js')
-rw-r--r-- | webpack.config.js | 14 |
1 files changed, 7 insertions, 7 deletions
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 webpack = require("webpack"); 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 @@ var config = { // 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 @@ var config = { 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 |