lathonez / clicker

Ionic 2 + @angular/cli Seed Project : Angular2 + Typescript + Karma + Protractor + Travis
http://lathonez.com/2018/ionic-2-unit-testing/
MIT License
430 stars 137 forks source link

Webpack performance warning #224

Closed RobertoDebarba closed 7 years ago

RobertoDebarba commented 7 years ago

Hey!

This repository help me a lot, but recently I'm having a issue: when I run npm test webpack hint a warning:

WARNING in asset size limit: The following asset(s) exceed the recommended size limit (250 kB).
This can impact web performance.
Assets:
  test (4.83 MB)
  src/test.ts (11.5 MB)

WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (250 kB). This can impact web performance.
Entrypoints:
  test (4.83 MB)
      test

  src/test.ts (11.5 MB)
      src/test.ts

WARNING in webpack performance recommendations:
You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
For more info visit https://webpack.js.org/guides/code-splitting/

I sure it can't break the tests, but there are a way to solve this?

Thanks!

lathonez commented 7 years ago

See #194