Skip to content

Error when using a ncc build with "typeorm-naming-strategies" #25

@maku

Description

@maku

After building a project with https://github.com/vercel/ncc I get an Error: "Cannot find module 'typeorm/util/StringUtils.js" when using "typeorm-naming-strategies" (which goes away when I drop using "SnakeNamingStrategy").

So the problem seems the usage of the
import { snakeCase } from 'typeorm/util/StringUtils';

Does anybody has an idea how to solve this problem?

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