Skip to content

Commit 48a0227

Browse files
committed
Update documentation, add versionScheme
1 parent 9f67a17 commit 48a0227

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

+4-5
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,12 @@
33
scalajs-vite is a module bundler for Scala.js projects that use npm packages: it bundles the .js file emitted by the
44
Scala.js compiler with its npm dependencies into a single .js file using Vite.
55

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

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

1514
1. Setup project layout, following is a minimal example:

build.sbt

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ inThisBuild(
1313
)
1414
),
1515
sonatypeCredentialHost := "s01.oss.sonatype.org",
16-
sonatypeRepository := "https://s01.oss.sonatype.org/service/local"
16+
sonatypeRepository := "https://s01.oss.sonatype.org/service/local",
17+
versionScheme := Some("semver-spec")
1718
)
1819
)
1920

0 commit comments

Comments
 (0)