You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to opt-in webpack's externals config depending on build format. For commonjs2 output, prevent bundling some dependencies, for umd output, bundle them all.
What does the proposed API look like?
// packages/%40vue/cli-service/lib/commands/build/resolveLibConfig.js#L78-L79config.output.libraryTarget(format)// set entry/output after user configureWebpack hooks are appliedconstrawConfig=api.resolveWebpackConfig(config)