indefinite icon indicating copy to clipboard operation
indefinite copied to clipboard

Incompatibility with @rails/webpacker

Open paul-mesnilgrente opened this issue 2 years ago • 5 comments

Hi here, first of all thanks for your work! We've been using your package on https://digitalnz.org/ for a long time.

It looks like you wrote a commit https://github.com/tandrewnichols/indefinite/commit/8f9dbe04437f7a41dea5b0f6078abde322e5bfc6 which is making our server-side rendering failing. I'm pretty sure it's because of

{
  "presets": [["@babel/preset-env", { "modules": false }]]
}

It makes our server-side rendering fail. I'm not an expert in babel and everything, but I guess modules are used by the server-side rendering. Would it possible to add it back?

paul-mesnilgrente avatar Nov 05 '21 01:11 paul-mesnilgrente