mochapack-node-playground
所属分类:构建工具
开发工具:JavaScript
文件大小:0KB
下载次数:0
上传日期:2024-01-25 08:27:29
上 传 者:
sh-1993
说明: 玩莫查巴克
(Playing with mochapack)
文件列表:
src/
workspace_lib/
.editorconfig
.eslintrc.cjs
.swcrc
package.json
pnpm-lock.yaml
prettier.config.cjs
tsconfig.build.json
tsconfig.json
webpack.config.cjs
yarn.lock
# mochapack-node-playground
Played with mochapack, but later switched to [instant-mocha](https://github.com/privatenumber/instant-mocha)
## Install
```sh
pnpm i -D instant-mocha mocha webpack webpack-node-externals swc-loader
```
```sh
npm run test:r
npm run test:w
```
## Issues
- swc `module.noInterop: true` should remove `__esModule` and make assertion showing
correct line number
- restart in monorepo?
Yes. With help of `workspace-alias` it possible to change source code of workspace lib (it will be included in bundle).
近期下载者:
相关文件:
收藏者: