Martin Šťovíček

Results 52 comments of Martin Šťovíček
trafficstars

@jonniebigodes I would be interested in contributing the ability to add SWC options in a similar fashion to how Babel options are loaded, maybe with the distinction of not automatically...

Here's a workaround that might help: https://stackoverflow.com/a/46720755

I tried both with and without `grit init` (it's stated as optional). This output is after installing via `curl -fsSL https://docs.grit.io/install | bash` in a Docker container. But I did...

`grit init` actually produces the same error: ``` root@7ca230e16e58:/srv# grit init Initialized grit config at /srv/.grit/grit.yaml Error: Invalid grit.yml: patterns[0].samples[1]: missing field `output` at line 22 column 9 ```

Oops, looks like the npm installed version on my host machine actually works.

I'll try to reproduce the error in some public container.

Tried in this "Devbox": https://codesandbox.io/p/devbox/heuristic-danny-kjl98p and works just fine 🤔

It must be related to the container somehow (I'm running a Dev Container in VS Code), will investigate more. The npm version which failed previously was also in the container....

So it seems I'm missing something in my Docker image. It works when I try the same image as CodeSandbox provides on my machine: ```bash $ docker run -v $(pwd)/src:/srv/src...

I've narrowed it down to the image architecture. I'm on a M1 Mac. I pulled the default Ubuntu image as well as the x64 image: ``` docker pull ubuntu docker...