Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Angular CLIについて

puku0x
March 16, 2018

Angular CLIについて

Angular 触ろうの会 in Fukuoka #5 LT

puku0x

March 16, 2018
Tweet

More Decks by puku0x

Other Decks in Technology

Transcript

  1. "OHVMBS৮Ζ͏ͷձJO'VLVPLB bOH`ίϚϯυ w ςϯϓϨʔτੜ੒
 
 w ։ൃαʔόىಈ
 w Ϗϧυ 6

    OHHFOFSBUFDPNQPOFOUOBNF OHHFOFSBUFTFSWJDFOBNF OHTFSWF OHCVJMEQSPE
  2. "OHVMBS৮Ζ͏ͷձJO'VLVPLB bOH`ίϚϯυ w ςετʢ,BSNBʣ
 
 
 w &&ςετʢ1SPUSBDUPSʣ 7 OHUFTU

    OHUFTUTJOHMFSVODPEFDPWFSBHF OHUFTUTSDDCSPXTFS$ISPNF)FBEMFTT OHFF
  3. "OHVMBS৮Ζ͏ͷձJO'VLVPLB OHFFTVJUF w &&ςετͷߜΓࠐΈ࣮ߦ 14 exports.config = { suites: {

    page1: 'e2e/page1/**/*.e2e-spec.ts', page2: [ 'e2e/page2a/**/*.e2e-spec.ts', 'e2e/page2b/**/*.e2e-spec.ts' ] }, OHFFTVJUFTVJUFOBNF QSPUSBDUPSDPOGKT
  4. "OHVMBS৮Ζ͏ͷձJO'VLVPLB CVEHFUT w ग़ྗ͞ΕΔϑΝΠϧͷαΠζΛ੍ݶ͢Δ 15 "apps": [ { "budgets": [{

    "type": "bundle", "name": "main", "baseline": "300kb", "maximumWarning": “10%" }, { "type": "any", "maximumError": "500kb" } ], NBJOCVOEMFKT͕ L#Ҏ্Ͱܯࠂ ϑΝΠϧαΠζ͕ L#Ҏ্ͰΤϥʔ BOHVMBSDMJKTPO
  5. "OHVMBS৮Ζ͏ͷձJO'VLVPLB !OHUPPMTXFCQBDL w 8FCQBDL༻ͷ"P5ίϯύΠϧϓϥάΠϯ 19 import { AngularCompilerPlugin } from

    '@ngtools/webpack' exports = { module: { rules: [{ test: /(?:\.ngfactory\.js|\.ngstyle\.js|\.ts)$/, use: '@ngtools/webpack' } ] }, plugins: [ new AngularCompilerPlugin({ tsConfigPath: 'path/to/tsconfig.json', entryModule: 'path/to/app.module#AppModule' }) ] } XFCQBDLDPOpHKT
  6. "OHVMBS৮Ζ͏ͷձJO'VLVPLB $-*ͷ։ൃίʔυ໊ w ܭࢉՊֶ෼໺ͷҒਓ͕༝དྷ 21 όʔδϣϯίʔυ ։ൃίʔυͷ༝དྷ උߟ W -PWFMFTT

    ΤΠμɾϥϒϨε ੈքॳͷϓϩάϥϚ W 5IPNQTPO έϯɾτϯϓιϯ $ݴޠ W )PQQFS άϨʔεɾϗούʔ $0#0- W 4VTTNBO δΣϥϧυɾδΣΠɾαεϚϯ 4*$1ஶऀ W 5VSJOH ΞϥϯɾνϡʔϦϯά νϡʔϦϯάϚγϯ W .PPSF ΰʔυϯɾϜʔΞ ϜʔΞͷ๏ଇ W ,MFFOF εςΟʔϒϯɾίʔϧɾΫϦʔω ਖ਼نදݱͷߟҊऀ