Results 57 comments of Jeremy Stucki

> We could also extract the CDN base URL to a constant. Then again passing around the constant might lead to more errors so I'm okay with this change. Not...

Another thing I noticed: editor integration is broken now, Intellisense will point to the minified chunk file in dist/

Intellisense is working now but I get a new error during development, whenever I change something in styleguide: This shows up during Fast Refresh but goes away after a page...

Also this error now shows up in the console: I think is because the `.js` loader should be different in dev than prod

For the minify option, [this](https://tsup.egoist.dev/#conditional-config) looks like a nicer approach than checking for NODE_ENV: ``` export default defineConfig((options) => { return { minify: !options.watch, } }) ```

> Intellisense is working now but I get a new error during development, whenever I change something in styleguide: > > > This shows up during Fast Refresh but goes...

Also, styleguide is still in next.config.js `transpilePackages`. I don't think that's necessary anymore.