thgh / rollup-plugin-serve

Serve your rolled up bundle like webpack-dev-server
MIT License
248 stars 54 forks source link

How to actually run this? #103

Closed tomwjerry closed 10 months ago

tomwjerry commented 10 months ago

What should I put in the package.json to run the server? What is the command?

thgh commented 10 months ago

Good question, the command is rollup after you added serve() in rollup.config.js

tomwjerry commented 10 months ago

Ah, thanks, now I understand! So it is not a separate command.