We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac5038a commit b27af30Copy full SHA for b27af30
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "bob-the-bundler",
3
- "version": "1.0.0-rc.12",
+ "version": "1.0.0-rc.13",
4
"description": "Bob The Bundler!",
5
"author": {
6
"email": "[email protected]",
src/commands/build.ts
@@ -71,12 +71,12 @@ async function buildSingle() {
71
72
validatePackageJson(pkg);
73
74
- const buildOptions: BuildOptions = pkg.buildOptions;
+ const buildOptions: BuildOptions = pkg.buildOptions || {};
75
76
const extraInputOptions: Partial<rollup.RollupOptions> = {};
77
78
if (buildOptions.external) {
79
- extraInputOptions.external = buildOptions.external || {};
+ extraInputOptions.external = buildOptions.external;
80
}
81
82
const inputOptions = {
0 commit comments