aboutsummaryrefslogtreecommitdiff
path: root/webpack.config.js
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-08-14 04:59:43 +0200
committerFlorian Dold <florian.dold@gmail.com>2017-08-14 04:59:43 +0200
commit5634e77ad96bfe1818f6b6ee70b7379652e5487f (patch)
treeaf7db4ee60b3fc624d7b0e8c94f2b72517b5269d /webpack.config.js
parentd5bba630a35fff72b11273fb5e62c2208f9e1f5b (diff)
fix build system / types
Diffstat (limited to 'webpack.config.js')
-rw-r--r--webpack.config.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/webpack.config.js b/webpack.config.js
index d2210b092..89a4a5aee 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -1,6 +1,7 @@
const path = require('path');
const webpack = require('webpack');
const merge = require('webpack-merge');
+const { CheckerPlugin } = require('awesome-typescript-loader')
function externalsCb(context, request, callback) {
@@ -24,7 +25,7 @@ module.exports = function (env) {
rules: [
{
test: /\.tsx?$/,
- loader: 'ts-loader',
+ loader: 'awesome-typescript-loader',
exclude: /node_modules/,
exclude: /taler-emscripten-lib/,
}
@@ -34,7 +35,9 @@ module.exports = function (env) {
modules: [path.resolve(__dirname, "./"), "node_modules"],
extensions: [".tsx", ".ts", ".js"]
},
- plugins: [],
+ plugins: [
+ new CheckerPlugin(),
+ ],
devtool: "source-map",
externals: [
externalsCb,