GoogleChromeLabs / tooling.report

tooling.report a quick way to determine the best build tool for your next web project, or if tooling migration is worth it, or how to adopt a tool's best practice into your existing configuration and code base.
https://tooling.report
Apache License 2.0
848 stars 49 forks source link

New test: Ability to convert node-style import to a http url #360

Closed Jack-Works closed 4 years ago

Jack-Works commented 4 years ago
import React from 'react'

tools may output:

import React from 'https://cdn.pika.dev/react@16.3.1'
surma commented 4 years ago

This seems like a DX feature to me. I don’t see how end-users benefit from this. If anything, it seems to me that it will impact loading performance negatively on average.

Jack-Works commented 4 years ago

Maybe Benefit from cdn?

surma commented 4 years ago

Ideally the dependencies sit on the same CDN as the app itself to avoid having to set up an additional connection. So the end-user benefit of this feature is very tangential, I think.

Going to close this as we don’t include DX features for now, but we can come back to this in the future if we ever start evaluating DX.