-
Notifications
You must be signed in to change notification settings - Fork 0
Description
I will share with you some thoughts:
-
Bundler
Actually i'm using webpack as a bundler, but we are free to use another bundler, for example Rollup or Parcel. We should understand what better fits our needs. -
Entry point of the library:
At the moment we export as a module the two WebARKit and WebARController in the index.js file https://github.com/kalwalt/webarkit-testing/blob/7034e6d9e05cefc3b98010bde4ecd707fdc68f40/src/index.js#L1-L6
Does it is what we want/needs?
in CommonJS code to initalize the module you need https://github.com/kalwalt/webarkit-testing/blob/7034e6d9e05cefc3b98010bde4ecd707fdc68f40/examples/example.html#L11-L14
maybe better would be write:
WebARKitController.init().then(wark => {
but this is not allowed because the lib is exported in that way.
This list is not complete, i will update while issues will emerge in the development.