Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/unlight/mochapack-node-playground

Playing with mochapack
https://github.com/unlight/mochapack-node-playground

instant-mocha mocha mochapack webpack

Last synced: 18 days ago
JSON representation

Playing with mochapack

Awesome Lists containing this project

README

        

# 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).