56 Commits

Author SHA1 Message Date
Jack Hsu
df7ff8cbae
feat(react): add better support for file and image imports (#2245) 2019-12-30 13:36:44 -05:00
Jack Hsu
ef995fdabe feat(react): add SVG and SVGR support for React apps 2019-12-28 11:06:45 -05:00
Jack Hsu
a524b2e947 feat(react): add publishable library support
Issue #1521
2019-10-02 16:26:20 -04:00
Jack Hsu
3cc01b9155
fix(react): add react preset right after env (#1817) 2019-09-10 07:05:18 -04:00
Jack Hsu
811c50b92c feat(web): use babel-loader instead of ts-loader for web build builder
- removes the `differentialLoading` build option
- differential loading is always enabled for prod builds

BEFORE (without ESM):

Benchmark #1: nx build demo --prod
  Time (mean ± σ):     13.834 s ±  1.731 s    [User: 11.817 s, System: 1.352 s]
  Range (min … max):   11.947 s … 16.015 s    10 runs

AFTER (with ESM):

Benchmark #1: nx build demo --prod
  Time (mean ± σ):     18.711 s ±  1.310 s    [User: 12.172 s, System: 1.394 s]
  Range (min … max):   17.232 s … 20.770 s    10 runs
2019-09-05 15:34:01 -04:00
Jack Hsu
776a185d65
feat(react): adds default babel-loader support for react apps (#1631) 2019-07-25 15:33:26 -04:00