Skip to content
This repository was archived by the owner on Jun 12, 2023. It is now read-only.
This repository was archived by the owner on Jun 12, 2023. It is now read-only.

Building snap locally takes over 3 minutes #251

@meandavejustice

Description

@meandavejustice

It appears that we don't have a watch command setup for the snap when running yarn demo, we should speed up the snap build command before we add watch so that it can be useful for local dev.

nard@wintermute:/mnt/c/Users/davej/Code/filsnap/packages/snap$ npm run build

> @chainsafe/filsnap@2.3.12 prebuild
> rm -rf build && rm -rf dist


> @chainsafe/filsnap@2.3.12 build
> yarn run build:snap
Build success: 'src/index.ts' bundled as 'dist/bundle.js'!
Manifest Success: Validated snap.manifest.json!
WARNING: Missing strong random number source
Eval Success: evaluated 'dist/bundle.js' in SES!

real    3m1.599s
user    0m20.466s
sys     1m4.116s

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