Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

ReferenceError: Fragment is not defined #809

Copy link
Copy link
@frankandrobot

Description

@frankandrobot
Issue body actions

As per #564, should this have been fixed?

I'm using microbundle 0.13.0

I tried the following build commands to no avail:

  • microbundle --tsconfig tsconfig.son --jsx React.createElement <-- this gives a Fragment is not defined error
  • microbundle --tsconfig tsconfig.json --jsxFragment React.Fragment --jsx React.createElement <-- this gives a React is not defined error
Microbundle 0.13.0
React 17.0.1
Typescript 4.1.3

tsconfig.json:

{
  "compilerOptions": {
    "target": "ESNext",
    "lib": ["dom", "dom.iterable", "esnext"],
    "allowJs": true,
    "skipLibCheck": true,
    "strict": true,
    "forceConsistentCasingInFileNames": true,
    "noEmit": true,
    "esModuleInterop": true,
    "module": "ESNext",
    "moduleResolution": "node",
    "resolveJsonModule": true,
    "isolatedModules": true,
    "jsx": "preserve"
  },
  "exclude": ["node_modules", "out", "dist"]
}
Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.