Skip to content
This repository was archived by the owner on Oct 4, 2022. It is now read-only.
This repository was archived by the owner on Oct 4, 2022. It is now read-only.

Using yoast seo in Angular #309

@01CodeLT

Description

@01CodeLT

In the documentation it says you can create a web worker using the following code

import { AnalysisWebWorker } from "yoastseo";

const worker = new AnalysisWebWorker( self );
worker.register();

This code however directly imports the node module which isn't possible in a web worker, can someone explain how to implement this code? I'm using Angular 6 and it's web workers don't support importing of node modules as above.

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