Luis Alvarez D.

Results 84 comments of Luis Alvarez D.

> Could it be that just because it's a possibility that it gets added that Next is adding this CSS? Yes. If you're importing the `CustomPortableText` somewhere and using it...

It's this one: https://github.com/vercel-labs/react-tweet/pull/44/files#diff-3c08e5022c3c58b6f607c199b3cdccd2d22584e5e51b20f983102b3d4b2547a2 ```js const path = require(`path`) exports.onCreateWebpackConfig = ({ stage, actions, getConfig }) => { const config = getConfig() config.module.rules.forEach((rule) => { rule.oneOf?.forEach((rule) => { rule.use?.forEach((plugin) =>...

@rielAsh24 If the CSS is not working then that means CSS Modules are still an issue for the package to be used in Gatsby and we would need a fix...

You can install the library and import the API from `react-tweet/api`, it won't include any components or unrequired source code.

Can you provide a reproduction that I can take a look at 🙏 . Looks like the tweet is showing in the provided URL, but if it's still not working...

@dillionverma Can you provide a reproduction 🙏

Looks like it's something with babel when used in Next.js. The package output of react-tweet does not use `import.meta` and all files are modules. Did you also add `reac-tweet` to...

@TatsuyaYamamoto The change looks reasonable to me, finish the change and I'll merge it!

Did you see docs for having the exports entry be an array? I tried looking at Node.js and TypeScript without any look. Webpack is different but that would be fine...

@TatisLois Follow the steps here to setup the Next.js repo: https://github.com/vercel/next.js/blob/canary/contributing.md Once you run `yarn dev` inside the root directory (which compiles the Next.js packages), you can change your `package.json`...