question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Modular import (browserify, rollup, webpack).

See original GitHub issue

Make it possible to use this with webpack more easily.

Like

import ngPermission from 'angular-permission';

angular.module('foo', [..., ngPermission, ...])

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
jstroemcommented, May 11, 2016

@masterspambot Even further out, guys using Rollup.js and browserify can also participate.

0reactions
masterspambotcommented, May 15, 2016

Thanks for help with this feature @jstroem!

Could you push update to wiki to update the docs describing how to use lib with webpack/browserify? If you can’t just include in it comment here.

Read more comments on GitHub >

github_iconTop Results From Across the Web

BREAKING CHANGE: webpack < 5 used to include polyfills ...
Hi, I have created a package with rollup.js and due to webpack < 5 no inlcudeing polyfill anymore by default I don't know...
Read more >
How to Bundle JavaScript With Rollup — Step-by-Step Tutorial
Learn how to use Rollup as a smaller, more efficient alternative to webpack and Browserify to bundle JavaScript files in this step-by-step ...
Read more >
Browserify to Rollup - Unifying our playground in a single bundle
Resolve imports to NodeJS exclusives to browser alternatives; Allow JSON imports/requires; Resolution of bare imports to NPM modules ( ...
Read more >
rollup.js
Rollup can import existing CommonJS modules through a plugin. Publishing ES Modules. To make sure your ES modules are immediately usable by tools...
Read more >
Comparison - webpack
webpack is a module bundler. Its main purpose is to bundle JavaScript files for usage in a browser, yet it is also capable...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found