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

Delete lib/src/js/debug folder in release mode. #40

Open
jakemac53 opened this issue Jan 14, 2016 · 4 comments
Open

Delete lib/src/js/debug folder in release mode. #40

jakemac53 opened this issue Jan 14, 2016 · 4 comments

Comments

@jakemac53
Copy link
Contributor

Moved from dart-archive/polymer-dart#405. Doing this will cut output size in half.

@terrywarwar
Copy link

Will that include polymer_elements also?

@jakemac53
Copy link
Contributor Author

No, this is just the debug sources for polymer. It only affects the amount of code deployed to the server as well, not the amount delivered to the user.

@terrywarwar
Copy link

Is there anyway to build and deploy only the files needed by the user. Noticed there are test files being deployed.

/build/web/packages/polymer_elements/src/prism/tests/languages/yaml/key_feature.test
/build/web/packages/polymer_elements/src/prism/tests/languages/yaml/null_feature.test
/build/web/packages/polymer_elements/src/prism/tests/languages/yaml/number_feature.test
/build/web/packages/polymer_elements/src/prism/tests/languages/yaml/scalar_feature.test
/build/web/packages/polymer_elements/src/prism/tests/languages/yaml/string_feature.test
/build/web/packages/polymer_elements/src/prism/tests/languages/yaml/tag_feature.test
...

@jakemac53
Copy link
Contributor Author

Feel free to file a bug on polymer_elements, deletion patterns can be added to this file so the next time the elements are generated it won't include those files.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants