diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-07-19 15:18:52 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-08-26 12:21:21 +0300 |
commit | 5ffb9634079eb3ff829f1987aa08608598003914 (patch) | |
tree | 26e7358f5b229c2effd389b0b0f0083f0e2d63c0 /webpack.common.js | |
parent | 7ca3f97975322a4c7c6383e86a63790894d4d375 (diff) |
Implement post messages for across frame communication
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'webpack.common.js')
-rw-r--r-- | webpack.common.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/webpack.common.js b/webpack.common.js index fa53e94f..98709898 100644 --- a/webpack.common.js +++ b/webpack.common.js @@ -49,6 +49,11 @@ module.exports = { exclude: /node_modules/ }, { + test: /\.tsx?$/, + use: 'ts-loader', + exclude: /node_modules/ + }, + { test: /\.(png|jpg|gif|svg)$/, loader: 'url-loader' } @@ -61,6 +66,6 @@ module.exports = { alias: { vue$: 'vue/dist/vue.esm.js' }, - extensions: ['*', '.js', '.vue', '.json'] + extensions: ['*', '.js', '.vue', '.json', '.tsx'] } }; |