Skip to content
This repository was archived by the owner on Dec 19, 2017. It is now read-only.
This repository was archived by the owner on Dec 19, 2017. It is now read-only.

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

Closed
@DartBot

Description

@DartBot

<img src="https://avatars.githubusercontent.com/u/224266?v=3" align="left" width="96" height="96"hspace="10"> Issue by johnmccutchan
Originally opened as dart-lang/sdk#19521


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

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions