Skip to content

Commit aacc7e5

Browse files
authored
Add vite to build systems (#974)
1 parent 4bf058b commit aacc7e5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pages/docs/manual/v11.0.0/interop-with-js-build-systems.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ If you come from JS, chances are that you already have a build system in your ex
1212
1313
## Popular JS Build Systems
1414

15-
The JS ecosystem uses a few build systems: [browserify](http://browserify.org/), [rollup](https://github.com/rollup/rollup), [webpack](https://webpack.js.org/), etc. The latter's probably the most popular of the three (as of 2019 =P). These build systems do both the compilation and the linking (aka, bundling many files into one or few files).
15+
The JS ecosystem uses a few build systems: [vite](https://vite.dev/), [browserify](http://browserify.org/), [rollup](https://github.com/rollup/rollup), [webpack](https://webpack.js.org/), etc. The latter's probably the most popular of the three (as of 2019 =P). These build systems do both the compilation and the linking (aka, bundling many files into one or few files).
1616

1717
`rescript` only takes care of the compilation step; it maps one `.res`/`.resi` file into one JS output file. As such, in theory, no build system integration is needed from our side. From e.g. the webpack watcher's perspective, the JS files ReScript generates are almost equivalent to your hand-written JS files. We also recommend **that you initially check in those ReScript-generated JS files**, as this workflow means:
1818

pages/docs/manual/v12.0.0/interop-with-js-build-systems.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ If you come from JS, chances are that you already have a build system in your ex
1212
1313
## Popular JS Build Systems
1414

15-
The JS ecosystem uses a few build systems: [browserify](http://browserify.org/), [rollup](https://github.com/rollup/rollup), [webpack](https://webpack.js.org/), etc. The latter's probably the most popular of the three (as of 2019 =P). These build systems do both the compilation and the linking (aka, bundling many files into one or few files).
15+
The JS ecosystem uses a few build systems: [vite](https://vite.dev/), [browserify](http://browserify.org/), [rollup](https://github.com/rollup/rollup), [webpack](https://webpack.js.org/), etc. The latter's probably the most popular of the three (as of 2019 =P). These build systems do both the compilation and the linking (aka, bundling many files into one or few files).
1616

1717
`rescript` only takes care of the compilation step; it maps one `.res`/`.resi` file into one JS output file. As such, in theory, no build system integration is needed from our side. From e.g. the webpack watcher's perspective, the JS files ReScript generates are almost equivalent to your hand-written JS files. We also recommend **that you initially check in those ReScript-generated JS files**, as this workflow means:
1818

0 commit comments

Comments
 (0)