dojo / cli-build-widget

Command for building Dojo widgets
Other
6 stars 17 forks source link

Build each element independently #8

Closed agubler closed 6 years ago

agubler commented 6 years ago

Changes the build to run a separate build for each element specified in the dojorc. This ensures all the required resources are contained in each element build folder.

Note this needed to use the transpileOnly option on the ts-loader otherwise the memory and CPU usage grew exponentially the more widgets that were built.

codecov[bot] commented 6 years ago

Codecov Report

Merging #8 into master will increase coverage by 0.03%. The diff coverage is 86.9%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master       #8      +/-   ##
==========================================
+ Coverage   71.52%   71.56%   +0.03%     
==========================================
  Files           8        8              
  Lines         302      320      +18     
  Branches       49       53       +4     
==========================================
+ Hits          216      229      +13     
- Misses         79       83       +4     
- Partials        7        8       +1
Impacted Files Coverage Δ
src/dev.config.ts 36.36% <0%> (-16.58%) :arrow_down:
src/dist.config.ts 47.61% <0%> (-6.55%) :arrow_down:
src/base.config.ts 33.33% <0%> (-1.37%) :arrow_down:
src/util.ts 100% <100%> (ø) :arrow_up:
src/logger.ts 100% <100%> (ø) :arrow_up:
src/main.ts 95.41% <86.66%> (-2.65%) :arrow_down:
src/ejected.config.ts 93.75% <88.88%> (-6.25%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 70902bc...bb7c533. Read the comment docs.

agubler commented 6 years ago

@matt-gadd could do with another quick review since updating dependencies and using @dojo/shim/browser