Skip to content

[BUG] broswer extension demo is using nodejs module without polyfill #62

@clean99

Description

@clean99

Description

when I run broswer extension demo, it failed because of lacking of polyfill

Steps to Reproduce

Reproduce Steps

  1. eko-cli init browser-extension-demo
  2. cd browser-extension-demo
  3. pnpm install
  4. pnpm run watch

Failed with following error

Image

Possible Solution

  1. install browserify as dev-deps
  2. add fallback on webpack config

Expected Behavior

Should not fail when running watch command

Environment

broswer extension

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions