linkedin / linkedin/dustjs

Lack of compile method when used with webpack

Open
#766 7 comments 5 reactions 0 assignees View on GitHub

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.

l_avenir

Is it something webpack specific ?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.