Tasks | Tools | Options |
---|---|---|
Building |
|
|
Linting |
|
|
Testing |
|
|
CI/CD |
|
- .js
- .d.ts
- .map
- .css
- Smaller download size when importing from html
<script>
tag via CDN.
- Unnecessary build process, library would be bundled by the final user.
- Can not share project dependencies, which cause redundant code and cause different globals for the same dependency.
Path alias doesn't work in .d.ts files. check microsoft/TypeScript#16607 css won't be copied to dist solution: vite-plugin-dts