diff options
Diffstat (limited to 'workflow-designer-ui/src/main/frontend/webpack.config.js')
-rw-r--r-- | workflow-designer-ui/src/main/frontend/webpack.config.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/workflow-designer-ui/src/main/frontend/webpack.config.js b/workflow-designer-ui/src/main/frontend/webpack.config.js index 70f41ed6..c724d9fc 100644 --- a/workflow-designer-ui/src/main/frontend/webpack.config.js +++ b/workflow-designer-ui/src/main/frontend/webpack.config.js @@ -40,7 +40,7 @@ module.exports = (env, argv) => { devtool: DEV ? 'eval-source-map' : 'none', resolve: { modules: modulePath, - extensions: ['.js', '.json', '.css', '.scss', '.jsx'], + extensions: ['.js', '.json', '.css', '.scss', '.jsx', '.ts'], alias: { wfapp: path.resolve(__dirname, 'src/'), features: path.resolve(__dirname, 'src/features'), @@ -120,6 +120,11 @@ module.exports = (env, argv) => { { test: /\.(bpmn|xml)$/, loader: 'raw-loader' + }, + { + test: /\.ts|\.tsx$/, + loader: ['babel-loader', 'awesome-typescript-loader'], + include: srcPath } ] }, |