greasify / vite-userscript-plugin

⚡️ A Vite plugin to build userscripts for Tampermonkey, Greasemonkey and Violentmonkey.
https://npmjs.com/vite-userscript-plugin
MIT License
42 stars 3 forks source link

Sourcemap options? #26

Closed LaysDragon closed 1 year ago

LaysDragon commented 1 year ago

I have migrated from webpack 5,it's a great plugin works really well. But I want to debug and noticed the sourcemap is disabled by code. Why isn't it's a available optional here?

crashmax-dev commented 1 year ago

@LaysDragon Sourcemaps not implemented. Use https://github.com/lisonge/vite-plugin-monkey

LaysDragon commented 1 year ago

@crashmax-dev Thanks for quick reply 👍