Skip to content

Commit

Permalink
Preparation for module split.
Browse files Browse the repository at this point in the history
  • Loading branch information
pme123 committed Nov 24, 2020
1 parent 86a212e commit 9d056fe
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,9 @@ And Scalably Typed
For the example I used:
* [Ant Design](https://ant.design)
* [Plotly](https://github.com/plotly/plotly.js/)

## Usage
In the sbt console:

`dev` Development with live updates of the client side.
`build` Bundle the Client.
14 changes: 8 additions & 6 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,13 @@ lazy val plotlyExample: Project => Project =
)
)

lazy val antdSettings: Project => Project =
_.settings(
Compile / npmDependencies ++= Seq(
"antd" -> "4.8.2"
)
)

lazy val webpackSettings: Project => Project =
_.settings(
version in webpack := "4.43.0",
Expand All @@ -81,9 +88,4 @@ lazy val webpackSettings: Project => Project =
webpackBundlingMode in fastOptJS := BundlingMode.LibraryOnly()
)

lazy val antdSettings: Project => Project =
_.settings(
Compile / npmDependencies ++= Seq(
"antd" -> "4.8.2"
)
)

0 comments on commit 9d056fe

Please sign in to comment.