blockly-samples icon indicating copy to clipboard operation
blockly-samples copied to clipboard

dev-scripts webpack config does not support loading audio assets

Open BeksOmega opened this issue 3 years ago • 0 comments

Category

  • Plugins

Component

dev-scripts

Describe the bug

The current webpack config (which is shared between all of the plugins in samples) does not support loading asset files (such as audio files).

Expected behavior

We should use the asset/resource loader to support loading audio files.

Additional context

I attempted to look into this, but my audio setup for my test environment isn't working, so I couldn't really test.

This is a blocker for #1072

We manually copy files used in examples so that the github pages work. This does not solve the problem of actually bundling assets with plugins.

BeksOmega avatar May 26 '22 16:05 BeksOmega