Lack of compile method when used with webpack
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 2.9k
- Forks
- 461
- PR merge metrics
- No merged PRs in 30d
Description
I'm using dustjs-linkedin v. 2.7.2 with webpack. When I'm importing dust:
import * as Dust from 'dustjs-linkedin';
or
const Dust = require('dustjs-linkedin');
the imported object doesn't have compile method.
Is it something webpack specific ?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with the two import forms shown in the report using dustjs-linkedin v2.7.2 and webpack. Inspect the package's exports and webpack's resolved module, then verify that the expected compile method is available without breaking the existing browser and server usage.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, webpack
- Domain
- web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100