Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bundling multiple UMD bundles using 'array' syntax #273

Open
chopfitzroy opened this issue Dec 9, 2019 · 1 comment
Open

Bundling multiple UMD bundles using 'array' syntax #273

chopfitzroy opened this issue Dec 9, 2019 · 1 comment

Comments

@chopfitzroy
Copy link

Hello,

As seen in this rollup issue the only way to handle multiple (named) UMD builds is using the array syntax:

[
	{
		input: 'packages/A/index.js',
		output: {
			name: '[name]Bundle',
			file: '[name].umd.js',
			format: 'umd'
		}
	},
	{
		input: 'packages/B/index.js',
		output: {
			name: '[name]Bundle',
			file: '[name].umd.js',
			format: 'umd'
		}
	}
];

Is it possible to do something like this with Bili?

@fi3ework
Copy link
Collaborator

fi3ework commented Jun 18, 2020

Not supported for now. But you can write two custom bili config and execute them independently. Such as yarn bili -c bili.config.a.js and yarn bili -c bili.config.b.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants