Closed gintsgints closed 3 years ago
I've added an example to the example
dir. If things aren't clear from that example it'd be really helpful to know what is difficult to understand about the option.
I get that error message from this config:
dev({
dirs: ['public'],
spa: 'index.html',
port: 5000,
proxy: [{ from: '/api', to: 'https://binsy-dev.balcia.com/binsy' }],
}),
May be somthing else causes that message to be shown.
I'm guessing you mean the warning? The behavior changed when a string value is supplied as an option, so there's a warning that things have changed.
The warning will be removed sometime later this fall - I want to give people a chance to migrate first before clearing it.
Ok. Could be warning. Thanks for help.
It is stated in https://github.com/pearofducks/rollup-plugin-dev/releases/tag/v2.0.0 that spa option now goes into dirs.
It is really hard to understund how exactly it should be specified and some example would be very nice.