Skip to content

Doesnt work at all when bundling with wepack #21

@CrackedBeefcake

Description

@CrackedBeefcake

Works perfectly fine in dev mode.
Once i bundle my scripts using webpack, i get:

lifecycle error NestedError: Could not require module 'nexrender-action-encode-video'
    at requireg (/Users/finnfrotscher/code/monorepo/packages/render-builder/dist/index.js:222291:11)
    at /Users/finnfrotscher/code/monorepo/packages/render-builder/dist/index.js:81259:12
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
Caused By: Error: Cannot find module '/Users/finnfrotscher/code/monorepo/packages/render-builder/node_modules/nexrender-action-encode-video/src/index.js'

which is notable because no only do i expect to have the encode module bundled, but also because /Users/finnfrotscher/code/monorepo/packages/render-builder/node_modules/nexrender-action-encode-video/src/index.js is present nonetheless.
so, neither is expected behavior happening, nor is the original node_module file read even tho its link is correct

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