Skip to content

No re-written after changing the source code of .worklet.js #3

@wxfred

Description

@wxfred

version
worklet-loader: 2.0.0
webpack: 4.46.0

worklet-loader options:

{
  inline: true,
}

I'm using vue-cli to build a project which is integrated with webpack. In dev mode, the worklet-loader seems to not re-written worklet js files after the modification, even I restart the whole project, unless I change the publicPath to force it to reload.

And, there is another problem, if inline is not set, the error would appear after creating an instance of AudioWorkletNode
Uncaught (in promise) DOMException: Failed to construct 'AudioWorkletNode': AudioWorkletNode cannot be created: The node name 'bypass-processor' is not defined in AudioWorkletGlobalScope.

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