Skip to content
This repository has been archived by the owner on Feb 15, 2023. It is now read-only.

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

Open
magentaqin opened this issue Apr 28, 2022 · 0 comments

Comments

@magentaqin
Copy link

magentaqin commented Apr 28, 2022

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 magentaqin changed the title 【Feature Request】publicPath should be set in on place 【Feature Request】publicPath customization should be set in one place Apr 28, 2022
@magentaqin magentaqin changed the title 【Feature Request】publicPath customization should be set in one place 【Feature Request】public directory customization should be set in one place Apr 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant