@riverscapes/common v2.0.24
Why is there both a dist
and a dist_esnext
folder?
The dist
folder is the output of the tsc
command. It is the transpiled code from TypeScript to JavaScript. The dist_esnext
folder is the output of the tsc --module esnext
. We need the esnext folder because vite requires ES6 modules. The dist
folder is used for the rest of the project (mostly the server side of things) which is still using CommonJS modules.
Eventually we will be able to remove the dist
folder and just use the dist_esnext
folder but we need to make sure that the rest of the project is ready for ES6 modules first.
8 months ago
9 months ago
9 months ago
11 months ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago