You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 10, 2020. It is now read-only.
In a project created by Lightning-CLI, I've tried to import and use ThunderJS:
in App.js: import thunderJS from 'ThunderJS'
and just use it globally: const config = {port: 9998, debug: true}; const thunderJs = thunderJS(config);
But whenever I build my app: lng build and run http server, the app fails with error: Uncaught ReferenceError: events$2 is not defined
Seems that rollup does strange things, since AppBundle.js starts with: var APP_xxx = (function (events$2, https, http, net, tls, crypto, url, zlib, fs, path, os, stream$1) {
The text was updated successfully, but these errors were encountered:
In a project created by Lightning-CLI, I've tried to import and use ThunderJS:
in App.js:
import thunderJS from 'ThunderJS'
and just use it globally:
const config = {port: 9998, debug: true}; const thunderJs = thunderJS(config);
But whenever I build my app:
lng build
and run http server, the app fails with error: Uncaught ReferenceError: events$2 is not definedSeems that rollup does strange things, since AppBundle.js starts with:
var APP_xxx = (function (events$2, https, http, net, tls, crypto, url, zlib, fs, path, os, stream$1) {
The text was updated successfully, but these errors were encountered: