Lack of compile method when used with webpack
See original GitHub issueI’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 ?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:5
- Comments:7
Top Results From Across the Web
Why Would Webpack Stop Re-compiling? (The Quest for ...
We were experiencing an issue where Webpack would mysteriously stop re-compiling and provide no error messaging.
Read more >I can't compile a react app because of lack of webpack and ...
I'm trying to compile a react app made by other person, after making a npm i I had the following errors
Read more >Compiler Hooks | webpack
The Compiler module is the main engine that creates a compilation instance with all the options passed through the CLI or Node API....
Read more >Meteor with Webpack in 2018 — Faster compilation and better ...
Webpack is a great bundler to compile your code including view templates, assets and the all stuff on your application. However, Meteor already...
Read more >Migrating to SWC: A brief overview - LogRocket Blog
SWC is faster than webpack and Babel. If you've already bootstrapped your project with those tools, here's how you can to SWC tooling....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
After some more searching, I’m not the only one that have this problem with dustjs and webpack: http://stackoverflow.com/questions/37592861/dustjs-with-webpack-dont-load-all-files
I also tried to import index.js:
but it gives errors:
I’ve also checked version 2.7.5. The same story. The only file that seems to be imported is lib/dust.js 😦
@rkrishn Did you get the solution?I am also stuck on the same issue