Webpack?
See original GitHub issueHow can I use this library with webpack? Using this doens’t work…
import ReconnectingWebsocket from 'reconnecting-websocket'
Issue Analytics
- State:
- Created 6 years ago
- Comments:11 (2 by maintainers)
Top Results From Across the Web
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 >webpack.js.org - GitHub
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 >webpack module bundler
webpack is a module bundler. It packs CommonJs/AMD modules i. e. for the browser. Allows to split your codebase into multiple bundles, which...
Read more >Webpack - Wikipedia
Webpack is a free and open-source module bundler for JavaScript. ... It is made primarily for JavaScript, but it can transform front-end assets...
Read more >An intro to Webpack: what it is and how to use it
In brief, Webpack goes through your package and creates what it calls a dependency graph which consists of various modules which your webapp ......
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 Free
Top 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
Sorry, I should of been more clear. The require syntax works with Webpack but, I want to use the import syntax for this library.
const ReconnectingWebSocket = require('reconnecting-websocket');
<-- this worksimport ReconnectingWebsocket from 'reconnecting-websocket
<-- this doesn’t@jfuehner we are using this module with webpack since webpack 1.x without any issues. Please, create a repo with the steps to reproduce and then feel free to reopen this issue.