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

docs: systemjs.config.plunker -> systemjs.config.web w/ auto-bootstrap #2756

Merged

Conversation

wardbell
Copy link
Contributor

@wardbell wardbell commented Nov 5, 2016

A simplified "Getting Started" experience is the driver behind these changes.

The systemjs.config.plunker.... files renamed to systemjs.config.web... because these systemjs.config variations are good for transpiling and running in web browser anywhere, not just in plunkers.

Pulls the compiling advice from tsconfig.json into the system configuration so that the tsconfig.json is not necessary when transpiling in the browser.

The web versions also JiT bootstrap the AppModule automatically so that the standard app/main.ts is not necessary. The plunker builder excludes app/main.ts.

Override this automatic bootstrapping by setting document['noBootstrap']=true as we must do in the browser-test-shim which controls the launch of the test harness.

These steps help minimize the standard bootstrapping kruft when running in plunkers or transpiling in the browser ... something you'd only do during demos anyway.

@wardbell wardbell force-pushed the systemjs-config-plunker-auto-bootstrap branch from 13b7258 to dca79b6 Compare November 5, 2016 04:59
@wardbell wardbell merged commit 74ef87f into angular:master Nov 5, 2016
@wardbell wardbell deleted the systemjs-config-plunker-auto-bootstrap branch November 5, 2016 04:59
wardbell added a commit to IdeaBlade/angular.io that referenced this pull request Nov 19, 2016
…ule and boots it.

For specific plunkers, e.g. "QuickStart (reboot edition)" PR angular#2762, that shouldn't have AppModule or main.ts
Rescinds the automatic bootstrapping and exclusion of `main.ts` in angular#2786 and angular#2756
Only autoBootstraps when `window.autoBootstrap === true`.
wardbell added a commit to IdeaBlade/angular.io that referenced this pull request Nov 19, 2016
…ule and boots it.

For specific plunkers, e.g. "QuickStart (reboot edition)" PR angular#2762, that shouldn't have AppModule or main.ts
Rescinds the automatic bootstrapping and exclusion of `main.ts` in angular#2786 and angular#2756
Only autoBootstraps when `window.autoBootstrap === true`.
wardbell added a commit that referenced this pull request Nov 19, 2016
…ule and boots it. (#2833)

For specific plunkers, e.g. "QuickStart (reboot edition)" PR #2762, that shouldn't have AppModule or main.ts
Rescinds the automatic bootstrapping and exclusion of `main.ts` in #2786 and #2756
Only autoBootstraps when `window.autoBootstrap === true`.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants