Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 1 addition & 13 deletions scripts/rollup/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,13 +199,7 @@ let getRollupInteropValue = id => {
return 'esModule';
};

function getRollupOutputOptions(
outputPath,
format,
globals,
globalName,
bundleType
) {
function getRollupOutputOptions(outputPath, format, globals, bundleType) {
const isProduction = isProductionBundleType(bundleType);

return {
Expand All @@ -214,7 +208,6 @@ function getRollupOutputOptions(
globals,
freeze: !isProduction,
interop: getRollupInteropValue,
name: globalName,
sourcemap: false,
esModule: false,
exports: 'auto',
Expand Down Expand Up @@ -351,7 +344,6 @@ function getPlugins(
filename,
packageName,
bundleType,
globalName,
moduleType,
pureExternalModules,
bundle
Expand Down Expand Up @@ -424,7 +416,6 @@ function getPlugins(
return Wrappers.wrapWithTopLevelDefinitions(
source,
bundleType,
globalName,
filename,
moduleType,
bundle.wrapWithModuleBoundaries
Expand Down Expand Up @@ -488,7 +479,6 @@ function getPlugins(
return Wrappers.wrapWithLicenseHeader(
source,
bundleType,
globalName,
filename,
moduleType
);
Expand Down Expand Up @@ -651,7 +641,6 @@ async function createBundle(bundle, bundleType) {
filename,
packageName,
bundleType,
bundle.global,
bundle.moduleType,
pureExternalModules,
bundle
Expand All @@ -674,7 +663,6 @@ async function createBundle(bundle, bundleType) {
mainOutputPath,
format,
peerGlobals,
bundle.global,
bundleType
);

Expand Down
Loading