question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItĀ collects links to all the places you might be looking at while hunting down a tough bug.

And, if youā€™re still stuck at the end, weā€™re happy to hop on a call to see how we can help out.

[Question] Support config file like tsup.config.js

See original GitHub issue

Hi Egoist, thank you for the great lib! But I wonder how about this? tsup.config.js

module.export = {
 target: 'es2021',
 sourcemap: true,
 format: ['esm','cjs']
 ....
}

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
egoistcommented, May 12, 2021

you can already use tsup.config.js, itā€™s just not documented.

1reaction
egoistcommented, May 12, 2021

you can already use tsup.config.js, itā€™s just not documented.

šŸ˜® I didnā€™t realize it before, ~is it possible to use a package.json field with joycon?~ I just read the docs and it does with ā€œpackageKeyā€ field, would you agree on adding it as an option for the config and mentioning all this feature on the docs? I can work on the PR if you want

sounds great.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Configuration for using tsup #487 - fastify/fastify-cli - GitHub
Prerequisites I have written a descriptive issue title I have searched existing issues to ensure the feature has not already been requestedĀ ...
Read more >
A fool-proof tsup config for a React component library
Hi, I maintain the VulcanJS framework and I have similar needs, checkout our current solution using Tsup: github.com/VulcanJS/vulcan-npm ThisĀ ...
Read more >
Creating a Modern TypeScript/JavaScript Library With tsup
It's a tool that bundles your TypeScript library with no config needed. It can bundle any file that is internally supported by the...
Read more >
How to bundle a tree-shakable typescript library with tsup and ...
Similar to Parcel , tsup is a zero-config library(in case you don't want it) based on esbuild. Parcel is based on Rust based...
Read more >
Bundling packages in a Monorepo - Turborepo
tsup outputs files to the dist directory by default, so you should: ... Fortunately, we can use dependsOn to easily configure this.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found