webpack-encore icon indicating copy to clipboard operation
webpack-encore copied to clipboard

FR: configureOutputLibrary()

Open masi opened this issue 6 years ago • 6 comments

Encore creates a default output configuration. I cannot change an entries of with the API. The ones I'm interested in are the library settings.

https://webpack.js.org/configuration/output#outputlibrary https://webpack.js.org/configuration/output#outputlibraryexport https://webpack.js.org/configuration/output#outputlibrarytarget https://webpack.js.org/configuration/output#outputauxiliarycomment https://webpack.js.org/configuration/output#outputumdnameddefine https://webpack.js.org/configuration/output#outputglobalobject

But of course there are a lot of other things one can configure:

https://webpack.js.org/configuration/output

I didn't ask for the others as one might feel that the user can break the config if allowed to change the others as well.

masi avatar Jun 07 '19 10:06 masi