diff --git a/rescript.json b/rescript.json index 2aa506b7b6..20d4c24d16 100644 --- a/rescript.json +++ b/rescript.json @@ -1,4 +1,17 @@ { "name": "rescript", + "package-specs": [ + { + "module": "esmodule", + "in-source": true + }, + { + "module": "esmodule", + "in-source": false, + "suffix": ".res.js" + } + ], + "suffix": ".res.js", + "jsx": { "version": 4 }, "dependencies": ["@tests/gentype-react-example", "playground"] }