Skip to content
This repository was archived by the owner on Mar 22, 2024. It is now read-only.

Indicate that parser.javascript.url: true is necessary for wasm load #4

Merged
merged 1 commit into from
Sep 29, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion custom-webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const config = {
type: 'asset/resource'
}
],
// this fixes the ttf url loading issue
// this is required for loading .wasm (and other) files. For context, see https://stackoverflow.com/a/75252098 and https://github.com/angular/angular-cli/issues/24617
parser: {
javascript: {
url: true
Expand Down