Quantcast
Channel: ReScript Forum - Latest posts
Viewing all articles
Browse latest Browse all 1759

genType for core library

$
0
0
{
  "$schema": "https://raw.githubusercontent.com/rescript-lang/rescript-compiler/master/docs/docson/build-schema.json",
  "name": "----------",
  "jsx": {
    "version": 4,
    "mode": "classic"
  },
  "bsc-flags": ["-bs-super-errors", "-open RescriptCore"],
  "sources": {
    "dir": "src",
    "subdirs": true
  },
  "suffix": ".bs.js",
  "namespace": true,
  "ppx-flags": [],
  "package-specs": {
    "module": "es6",
    "in-source": true
  },
  "bs-dependencies": [
    "@rescript/react",
    "@rescript/core",
    "@glennsl/rescript-fetch"
  ],
  "gentypeconfig": {
    "module": "esmodule",
    "moduleResolution": "node",
    "generatedFileExtension": ".gen.tsx"
  }
}

This is my rescript.json file looks like. Am I missing something in configuration?


Viewing all articles
Browse latest Browse all 1759

Trending Articles