Relative Content

Tag Archive for vite

Generating only one index.js in vite rollup

Is there a way of telling vite rollup to just generate one index.js bundle asset? I am trying to use the rollup configuration in vite but it produces the main index.js asset and a few other index.js chunks.

How to disable vite source maps in dev mode?

Vite generates wrong source maps for typescript, I would like to disable it, but can’t figure out how to do it, there’s option build: { sourcemap: false } but it only works in production.

How to disable vite source maps in dev mode?

Vite generates wrong source maps for typescript, I would like to disable it, but can’t figure out how to do it, there’s option build: { sourcemap: false } but it only works in production.

How to disable vite source maps in dev mode?

Vite generates wrong source maps for typescript, I would like to disable it, but can’t figure out how to do it, there’s option build: { sourcemap: false } but it only works in production.

how to create multiple html files with vite?

I’m having a hard time trying to use vite. I have 2 html files and I would like to generate them with the imports automatically. However I’ve been able to do only one. I’m trying to import tachyons.css for all the pages right? That I could do it. but I also wanna create specific scripts for each page I don’t know how to config to set automatically. Not even compile it.