template icon indicating copy to clipboard operation
template copied to clipboard

【Feature Request】public directory customization should be set in one place

Open magentaqin opened this issue 3 years ago • 0 comments

1、status quo

If I want to customize public dir, I have to set it both in rollup.config.js and package.json, which is pretty tedious and less friendly to new comers. First,pass watch param to livereload plugin:

Screen Shot 2022-04-28 at 3 16 17 PM

Second, change sirv public dir: Screen Shot 2022-04-28 at 3 18 09 PM

2、Expect

Set public path only in rollup.config.js and work out through.

If possible, I will create a PR to enhance it.

magentaqin avatar Apr 28 '22 07:04 magentaqin