use reflow to migrate from flow to typescript

This commit is contained in:
Sebastian Sdorra
2019-10-19 16:38:07 +02:00
parent f7b8050dfa
commit 6e7a08a3bb
495 changed files with 14239 additions and 13766 deletions

View File

@@ -9,9 +9,9 @@ module.exports = [
context: root,
entry: {
webapp: [
"./ui-webapp/src/webpack-public-path.js",
"./ui-webapp/src/webpack-public-path.ts",
"./ui-styles/src/scm.scss",
"./ui-webapp/src/index.js"
"./ui-webapp/src/index.tsx"
]
},
devtool: "cheap-module-eval-source-map",
@@ -30,7 +30,7 @@ module.exports = [
}
},
{
test: /\.(js|jsx)$/,
test: /\.(js|ts|jsx|tsx)$/i,
exclude: /node_modules/,
use: [
{
@@ -65,6 +65,11 @@ module.exports = [
}
]
},
resolve: {
extensions: [
".ts", ".tsx", ".js", ".jsx", ".css", ".scss", ".json"
]
},
output: {
path: path.join(root, "target", "assets"),
filename: "[name].bundle.js"