Skip to content

pub build packages directory for a Polymer app is too big #19521

Closed
@johnmccutchan

Description

@johnmccutchan

Reproduction steps:

$ cd runtime/bin/vmservice/client
$ pub build --mode=release

Look in build/web/packages

Specifically,

824K ./packages/polymer/src/js/polymer

That directory has two copies of polymer.js (polymer.js and polymer.concat.js). It also has two map files.

1.6M ./packages/web_components

Same problem here, directory has two copies of platform.js (platform.js and platform.concat.js). It also has two map files (each are half a meg in size!).

I'm not sure why .map files are being included in release mode build output.

Metadata

Metadata

Assignees

Labels

P1A high priority bug; for example, a single project is unusable or has many test failuresarea-pkgUsed for miscellaneous pkg/ packages not associated with specific area- teams.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions