dojo / dojo/webpack-contrib

BTR does not elide localhost outside the mount point

Open
#327 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4
Forks
16
PR merge metrics
No merged PRs in 30d

Description

**Bug**

https://github.com/dojo/webpack-contrib/blob/3641d4a8c5242ba13f6ad47bb210185b64c56690/src/build-time-render/BuildTimeRender.ts#L393
BTR elides `localhost` from URLs, but this process is not applied to the document head.

**Code**

```typescript
const image = require('./image.jpg');

// in widget
return (






);
```

**Expected behavior:**

``

**Actual behavior:**

``

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.