Skip to content

Commit

Permalink
Upgraded webpack version and removed react-dom for mobile settings
Browse files Browse the repository at this point in the history
  • Loading branch information
viktor-podzigun committed Aug 26, 2021
1 parent da2bc27 commit f83c917
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,21 +68,18 @@ object CommonMobileModule {

// react-native DO NOT require DOM
requireJsDomEnv in Test := false,
version in webpack := "3.5.5", //TODO: migrate to 4.29.0
version in webpack := "4.29.0",
webpackEmitSourceMaps := false,

npmDependencies in Compile ++= Seq(
"react" -> "^16.8.0",
"react-dom" -> "^16.8.0" //TODO: remove dependency on react-dom
"react" -> "^16.8.0"
),
npmResolutions in Compile ++= Map(
"react" -> "^16.8.0",
"react-dom" -> "^16.8.0"
"react" -> "^16.8.0"
),

npmResolutions in Test ++= Map(
"react" -> "^16.8.0",
"react-dom" -> "^16.8.0"
"react" -> "^16.8.0"
),
npmDevDependencies in Test ++= Seq(
"module-alias" -> "2.2.2"
Expand Down
2 changes: 1 addition & 1 deletion version.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version in ThisBuild := sys.env.getOrElse("version", default = "0.5.0-SNAPSHOT").stripPrefix("v")
version in ThisBuild := sys.env.getOrElse("version", default = "0.6.0-SNAPSHOT").stripPrefix("v")

0 comments on commit f83c917

Please sign in to comment.