Skip to content

excludeDevDependencies and symlinkOrCopy does not work well together #154

Closed
@henrikbjorn

Description

@henrikbjorn

Using this plugin together with serverless framework made my package HUUUGE because it included all of the devDependencies etc.

While researching I found this issue serverless/serverless#5396 and after more debugging I found the issue (on my system) serverless/serverless#5396 (comment)

Changing this function https://github.com/prisma/serverless-plugin-typescript/blob/master/src/index.ts#L227 to always do a copy and not use Symlinks excludes the devDependencies correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions