Skip to content

Commit

Permalink
Fix new schedules being a blank page in IE11
Browse files Browse the repository at this point in the history
  • Loading branch information
digitalcora committed Jan 30, 2020
1 parent 6bec915 commit 28a674f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
1 change: 0 additions & 1 deletion apps/site/assets/tsconfig.webpack.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"extends": "./tsconfig",
"exclude": [
"**/__tests__/**/*",
"node_modules",
"vendor/",
"ts/ts-build/"
]
Expand Down
13 changes: 13 additions & 0 deletions apps/site/assets/webpack.config.base.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,19 @@ module.exports = {
loader: "babel-loader"
}
},
{
// https://docs.react-async.com/getting-started/installation#transpiling-for-legacy-browsers
test: /\/node_modules\/react-async\//,
use: [
{ loader: "babel-loader" },
{
loader: "ts-loader",
options: {
configFile: "tsconfig.webpack.json"
}
}
]
},
{
test: /\.svg$/,
use: [
Expand Down

0 comments on commit 28a674f

Please sign in to comment.