Search found 4 matches

by eliatlas
22 Jan 2018, 09:21
Forum: SFS2X HTML5 / JavaScript API
Topic: SFS2X with Webpack
Replies: 33
Views: 5553

Re: SFS2X with Webpack

I tried, no luck. Both when I embed it as DataStream.js and when I try to import from NPM
by eliatlas
21 Jan 2018, 15:12
Forum: SFS2X HTML5 / JavaScript API
Topic: SFS2X with Webpack
Replies: 33
Views: 5553

Re: SFS2X with Webpack

I also posted in other thread, just to make sure writing here as well.
I opened a git repository with example code, and steps to reproduce.

https://github.com/eliatlas/sfs_js_api
by eliatlas
21 Jan 2018, 13:07
Forum: SFS2X HTML5 / JavaScript API
Topic: SFS2X with Webpack
Replies: 33
Views: 5553

Re: SFS2X with Webpack

I am having the same issue. import {SmartFox, SFSEvent} from '../lib/sfs2x-api-1.7.6' export default class { constructor() { this.sfs = new SmartFox({ host: "127.0.0.1", port: 8443, debug: true, useSSL: true, zone: "sfsak" }); this.sfs.addEventListener(SFSEvent.CONNECTION, this.o...
by eliatlas
21 Jan 2018, 11:57
Forum: SFS2X HTML5 / JavaScript API
Topic: SFS2X with Webpack
Replies: 33
Views: 5553

Re: SFS2X with Webpack

Did you manage to solve this issue?
Any plans to prepare NPM for Smartfox perhaps?

Go to advanced search