we check in /build ts output to the repo

cc @lramos15
This commit is contained in:
Joao Moreno 2021-12-08 15:18:09 +01:00
parent d24eb562d9
commit f0e7d8545a
No known key found for this signature in database
GPG key ID: 896B853774D1A575

View file

@ -286,7 +286,10 @@ function acquireWebNodePaths() {
let entryPoint = (_a = packageData.browser) !== null && _a !== void 0 ? _a : packageData.main;
// On rare cases a package doesn't have an entrypoint so we assume it has a dist folder with a min.js
if (!entryPoint) {
console.warn(`No entry point for ${key} assuming dist/${key}.min.js`);
// TODO @lramos15 remove this when jschardet adds an entrypoint so we can warn on all packages w/out entrypoint
if (key !== 'jschardet') {
console.warn(`No entry point for ${key} assuming dist/${key}.min.js`);
}
entryPoint = `dist/${key}.min.js`;
}
// Remove any starting path information so it's all relative info