Skip to content

Config for jsx #44

Description

@appleneilAM

Hi Harvey,

I'm trying to follow your instructions but for .jsx files. When I run npm run build I get the following error

src/index.js → build/index.js, build/index.es.js...
[!] Error: Could not resolve './TestComponent/TestComponent' from src\index.js

Do you have any ideas?

Activity

  1. pchr-srf commented on Mar 29, 2022

    @pchr-srf

    Did you add it to src/index.ts?

    e.g.

    import { TestComponent } from './TestComponent/TestComponent';
    
    export { TestComponent };
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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