Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Angular Template Angular Template
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • IzeniIzeni
  • Angular TemplateAngular Template
  • Wiki
  • webpack

webpack · Changes

Page history
some progress authored Sep 12, 2016 by Mikkel Davis's avatar Mikkel Davis
Show whitespace changes
Inline Side-by-side
webpack.md
View page @ b62ee999
* define api for production and dev inside services/api.config.ts at the top
### Why Webpack?
We are choosing to use webpack as our development environment for a variety of reasons:
* powerful loader/transpiler pipelines
* has a robust development server
* avoids the ridiculous SystemJS config that the Angular team shows in their docs
* ability to break out entire components into webpack bundlable chunks, which could potentially be loaded independently over HTTP/2
* hot module replacement (right now mainly for style, eventually for entire dom components)
notes
* import new dependencies into the vendors.ts file
config, vendors, polyfills
* (webpack because: HMR, chunk (component) bundles, avoid silly SYstem config in angular docs)
\ No newline at end of file
* config, vendors, polyfills
\ No newline at end of file
Clone repository
  • angular
  • cookbook forms
  • cookbook routing
  • data store
  • gotchas
  • Home
  • modals
  • sass with bem
  • toolbox
  • typescript
  • webpack