Inferno: Which files need to be hosted in the latest version?

Created on 22 Mar 2017  路  9Comments  路  Source: infernojs/inferno

Hi @trueadm @Havunen,
I'm a member of cdnjs. I'd like to confirm if we only need to host inferno.js and inferno.min.js under dist in v1.4.1 as previous version or the other .js files under dist directory need to be hosted also?
Thank you.

https://github.com/cdnjs/cdnjs/pull/10887
https://github.com/cdnjs/cdnjs/issues/10886

enhancement question

Most helpful comment

Okay, it seems that dist/"packagename".js only published on NPM, not on GitHub. We will fetch files from NPM.

All 9 comments

thanks for contacting us! We did a conversion to monorepo structure so I think the correct dist files are under packages/*/dist/inferno-*.js & packages/*/dist/inferno-*.min.js. For ex:

packages/inferno/dist/inferno.js
packages/inferno/dist/inferno.min.js
packages/inferno-component/dist/inferno-component.js
packages/inferno-component/dist/inferno-component.min.js

Okay. So for inferno, I think we need inferno/dist/inferno.jsand inferno/dist/inferno.min.js only. I think inferno-component should be hosted as another library in cdnjs. How do you think?

Yup that'd work. Lmk what's needed to onboard them :)

This should be a little more complicated actually. @longlho since you moved us to Monorepo we've lost all packages apart from Inferno. Since we used to have all the dist files contained in Inferno CDNjs would pick up all of them.

Now I guess we need to add all the packages to CDN network since they're split out @pvnr0082t?

@LukeSheard Can the files under packages compatible with the browser? We host the files which can directly use on the browser, like files under dist folder published on NPM.

browser compatible files should be located in packages/"packagename"/dist/"packagename".js and min.js

Okay, it seems that dist/"packagename".js only published on NPM, not on GitHub. We will fetch files from NPM.

@pvnr0082t How can we add the other packages from Inferno to cdnjs?

Multiple cdn providers have all inferno repos libraries now. Closing.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hguillermo picture hguillermo  路  28Comments

devanp92 picture devanp92  路  20Comments

simonjoom picture simonjoom  路  21Comments

AlgoTrader picture AlgoTrader  路  54Comments

fmarsoni picture fmarsoni  路  25Comments