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
Would it be possible to create a third version that would show a template to quickstart an itowns plugin/library (rather than an application) ?
I am not sure about the difference, but @autra, you seemed to be knowledgeable about this when you say :
From this formulation, I understand that you wanted to write a library, but your repo looks like an app (build results and bundles committed, no peer dependencies, a webpack config, a preinstall script etc).
The text was updated successfully, but these errors were encountered:
You're not far though: you just need to remove your MainBundle.js from the package imo and control more tightly what goes into your package when you run npm pack. Some deps should be in peerDependencies as well (like itowns, and maybe THREE). Tip, if you want it to still work in your examples, you also add your peerDependency in your devDependencies.
In short it's mainly a matter of configuring package.json. Not sure if this is the place, the npm documentation is already quite detailed on this :-)
Would it be possible to create a third version that would show a template to quickstart an itowns plugin/library (rather than an application) ?
I am not sure about the difference, but @autra, you seemed to be knowledgeable about this when you say :
The text was updated successfully, but these errors were encountered: