Skip to content

Commit

Permalink
Update documentation, add versionScheme
Browse files Browse the repository at this point in the history
  • Loading branch information
ptrdom committed Feb 1, 2023
1 parent 9f67a17 commit 48a0227
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@
scalajs-vite is a module bundler for Scala.js projects that use npm packages: it bundles the .js file emitted by the
Scala.js compiler with its npm dependencies into a single .js file using Vite.

Setup and use of this plugin should feel quite familiar to users of well known
[scalajs-bundler](https://scalacenter.github.io/scalajs-bundler), with the main difference being that there is no special
handling of `npmDependencies` - they must be provided through `package.json` placed within `vite` directory in project's
base.

## Getting started

Plugin should feel quite familiar to the users of well known [scalajs-bundler](https://scalacenter.github.io/scalajs-bundler),
with the main difference being that there is no special handling of `npmDependencies` - they must be provided through
`package.json` placed within `vite` directory in project's base.

### Basic setup

1. Setup project layout, following is a minimal example:
Expand Down
3 changes: 2 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ inThisBuild(
)
),
sonatypeCredentialHost := "s01.oss.sonatype.org",
sonatypeRepository := "https://s01.oss.sonatype.org/service/local"
sonatypeRepository := "https://s01.oss.sonatype.org/service/local",
versionScheme := Some("semver-spec")
)
)

Expand Down

0 comments on commit 48a0227

Please sign in to comment.