web icon indicating copy to clipboard operation
web copied to clipboard

[rollup-plugin-polyfills-loader] should use the publicPath from rollup-plugin-html

Open barroudjo opened this issue 4 years ago • 2 comments

Otherwise the loading of polyfills will fail when using a publicPath.

barroudjo avatar Jan 11 '21 11:01 barroudjo

No answer ?

barroudjo avatar Jan 24 '21 14:01 barroudjo

You can configure the folder polyfills are loaded from using the polyfillsDir option. Reusing the HTML plugin public dir option would be useful, though we need to set up some more inter-plugin communication for that. https://modern-web.dev/docs/building/polyfills-loader/#polyfillsdir

LarsDenBakker avatar Jan 25 '21 19:01 LarsDenBakker