Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Universal Webpack #3578

Merged
merged 138 commits into from
Jan 30, 2018
Merged

Universal Webpack #3578

merged 138 commits into from
Jan 30, 2018

Commits on Dec 21, 2017

  1. Speed up next build

    timneutkens committed Dec 21, 2017
    Configuration menu
    Copy the full SHA
    fcb3430 View commit details
    Browse the repository at this point in the history
  2. Document webpack config

    timneutkens committed Dec 21, 2017
    Configuration menu
    Copy the full SHA
    c1ebbf6 View commit details
    Browse the repository at this point in the history
  3. Speed up next build

    timneutkens committed Dec 21, 2017
    Configuration menu
    Copy the full SHA
    83916b7 View commit details
    Browse the repository at this point in the history
  4. Remove comment

    timneutkens committed Dec 21, 2017
    Configuration menu
    Copy the full SHA
    443ece9 View commit details
    Browse the repository at this point in the history
  5. Add comment

    timneutkens committed Dec 21, 2017
    Configuration menu
    Copy the full SHA
    0aacb17 View commit details
    Browse the repository at this point in the history
  6. Merge branch 'fix/webpack-build-speed-increase' into feature/universa…

    …l-webpack
    
    # Conflicts:
    #	server/build/plugins/combine-assets-plugin.js
    timneutkens committed Dec 21, 2017
    Configuration menu
    Copy the full SHA
    ad6cc8a View commit details
    Browse the repository at this point in the history
  7. Clean up rules

    timneutkens committed Dec 21, 2017
    Configuration menu
    Copy the full SHA
    6ce025e View commit details
    Browse the repository at this point in the history
  8. Add comments

    timneutkens committed Dec 21, 2017
    Configuration menu
    Copy the full SHA
    c3914ea View commit details
    Browse the repository at this point in the history
  9. Run in parallel

    timneutkens committed Dec 21, 2017
    Configuration menu
    Copy the full SHA
    b1aac7b View commit details
    Browse the repository at this point in the history
  10. Push plugins seperately

    timneutkens committed Dec 21, 2017
    Configuration menu
    Copy the full SHA
    7bee9a7 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    5373354 View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2017

  1. Configuration menu
    Copy the full SHA
    dc3f242 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6fabf34 View commit details
    Browse the repository at this point in the history
  3. Re-add globpattern

    timneutkens committed Dec 22, 2017
    Configuration menu
    Copy the full SHA
    654c48e View commit details
    Browse the repository at this point in the history
  4. Merge branch 'canary' of github.com:zeit/next.js into fix/add-comment…

    …s-for-plugins
    
    # Conflicts:
    #	server/build/plugins/combine-assets-plugin.js
    timneutkens committed Dec 22, 2017
    Configuration menu
    Copy the full SHA
    3192950 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    25e8bca View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    82e5505 View commit details
    Browse the repository at this point in the history
  7. Remove dot

    timneutkens committed Dec 22, 2017
    Configuration menu
    Copy the full SHA
    c8ff14b View commit details
    Browse the repository at this point in the history

Commits on Dec 23, 2017

  1. Add universal webpack

    timneutkens committed Dec 23, 2017
    Configuration menu
    Copy the full SHA
    b4fbe50 View commit details
    Browse the repository at this point in the history

Commits on Dec 27, 2017

  1. Initial dev support

    timneutkens committed Dec 27, 2017
    Configuration menu
    Copy the full SHA
    a057415 View commit details
    Browse the repository at this point in the history
  2. Fix linting

    timneutkens committed Dec 27, 2017
    Configuration menu
    Copy the full SHA
    8226bd9 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'canary' of github.com:zeit/next.js into feature/webpack

    # Conflicts:
    #	yarn.lock
    timneutkens committed Dec 27, 2017
    Configuration menu
    Copy the full SHA
    91569e0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e5d2078 View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2018

  1. Made next dev works.

    But super slow and no HMR support.
    arunoda committed Jan 4, 2018
    Configuration menu
    Copy the full SHA
    b843e6e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9da6404 View commit details
    Browse the repository at this point in the history
  3. Server side hmr

    timneutkens committed Jan 4, 2018
    Configuration menu
    Copy the full SHA
    5cb819a View commit details
    Browse the repository at this point in the history
  4. Only in dev

    timneutkens committed Jan 4, 2018
    Configuration menu
    Copy the full SHA
    b97bc2f View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2018

  1. Configuration menu
    Copy the full SHA
    89f9793 View commit details
    Browse the repository at this point in the history
  2. Add .babelrc support

    timneutkens committed Jan 5, 2018
    Configuration menu
    Copy the full SHA
    aec6aa1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    888bc35 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ab26369 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8859c5f View commit details
    Browse the repository at this point in the history
  6. Add sass support

    timneutkens committed Jan 5, 2018
    Configuration menu
    Copy the full SHA
    84d785a View commit details
    Browse the repository at this point in the history
  7. Add support for .map

    timneutkens committed Jan 5, 2018
    Configuration menu
    Copy the full SHA
    c5ccf23 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    bb5cf9a View commit details
    Browse the repository at this point in the history
  9. Rename

    timneutkens committed Jan 5, 2018
    Configuration menu
    Copy the full SHA
    565bf54 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2018

  1. Configuration menu
    Copy the full SHA
    122fc92 View commit details
    Browse the repository at this point in the history
  2. Add NoEmitErrorsPlugin

    timneutkens committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    c487416 View commit details
    Browse the repository at this point in the history
  3. Add clientBootstrap

    timneutkens committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    c6c7e15 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    008e659 View commit details
    Browse the repository at this point in the history
  5. alpha.3

    timneutkens committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    fa4b18f View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2018

  1. Use babel 16.2.x

    timneutkens committed Jan 11, 2018
    Configuration menu
    Copy the full SHA
    2057482 View commit details
    Browse the repository at this point in the history
  2. Fix reloading after error

    timneutkens committed Jan 11, 2018
    Configuration menu
    Copy the full SHA
    7bd3178 View commit details
    Browse the repository at this point in the history
  3. Remove comment

    timneutkens committed Jan 11, 2018
    Configuration menu
    Copy the full SHA
    c136af8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bf78292 View commit details
    Browse the repository at this point in the history
  5. Remove check for React 16

    timneutkens committed Jan 11, 2018
    Configuration menu
    Copy the full SHA
    5e5b9e8 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7b339a4 View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2018

  1. React hot loader v4

    timneutkens committed Jan 13, 2018
    Configuration menu
    Copy the full SHA
    6494359 View commit details
    Browse the repository at this point in the history
  2. Use our static file rendering machanism to serve pages.

    This should work well since the file path for a page is predictable.
    arunoda authored and timneutkens committed Jan 13, 2018
    Configuration menu
    Copy the full SHA
    f8f1fba View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    820d3c3 View commit details
    Browse the repository at this point in the history
  4. Remove optional loaders

    timneutkens committed Jan 13, 2018
    Configuration menu
    Copy the full SHA
    48e4d63 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    190b930 View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2018

  1. Remove clientBootstrap

    timneutkens committed Jan 14, 2018
    Configuration menu
    Copy the full SHA
    573d4a6 View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2018

  1. Remove renderScript

    timneutkens committed Jan 15, 2018
    Configuration menu
    Copy the full SHA
    e0d2a41 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7d83ae4 View commit details
    Browse the repository at this point in the history
  3. Remove unused import

    timneutkens committed Jan 15, 2018
    Configuration menu
    Copy the full SHA
    9eac841 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ea67454 View commit details
    Browse the repository at this point in the history
  5. Fix hot loader

    timneutkens committed Jan 15, 2018
    Configuration menu
    Copy the full SHA
    340b93d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    52605da View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    3347940 View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2018

  1. Add typescript support

    timneutkens committed Jan 16, 2018
    Configuration menu
    Copy the full SHA
    5434104 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d4b1d9b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4ca1a44 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5821d49 View commit details
    Browse the repository at this point in the history
  5. Revert "Add support for transpiling certain packages in node_modules"

    This reverts commit d4b1d9b.
    
    In favor of a better api around this.
    timneutkens committed Jan 16, 2018
    Configuration menu
    Copy the full SHA
    91ad193 View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2018

  1. Configuration menu
    Copy the full SHA
    dbbdec4 View commit details
    Browse the repository at this point in the history
  2. Remove comments

    timneutkens committed Jan 17, 2018
    Configuration menu
    Copy the full SHA
    5fd08f1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fcea07c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    04651be View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1f023a8 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    435b60d View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2018

  1. 1 Configuration menu
    Copy the full SHA
    1a2ab91 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    495e0a4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2a3aa74 View commit details
    Browse the repository at this point in the history
  4. Remove obsolete plugin

    timneutkens committed Jan 18, 2018
    Configuration menu
    Copy the full SHA
    8e96607 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6473226 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    30af0bf View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d82c566 View commit details
    Browse the repository at this point in the history
  8. Compile to bundles

    timneutkens committed Jan 18, 2018
    Configuration menu
    Copy the full SHA
    94fdee5 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    bd27a7e View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    deff65a View commit details
    Browse the repository at this point in the history
  11. Remove console.log

    timneutkens committed Jan 18, 2018
    Configuration menu
    Copy the full SHA
    ef06a04 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    de8d0fb View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    c80228b View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    49e2808 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    7106aff View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    a10c21e View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    fb7c862 View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2018

  1. Configuration menu
    Copy the full SHA
    d948ef5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    763a1d2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9b709c5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6b62551 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4617987 View commit details
    Browse the repository at this point in the history
  6. Revert tests

    timneutkens committed Jan 19, 2018
    Configuration menu
    Copy the full SHA
    6833e8b View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    516fa62 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    97f45e9 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    e57c236 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    7ed60b7 View commit details
    Browse the repository at this point in the history
  11. Alias react too

    timneutkens committed Jan 19, 2018
    Configuration menu
    Copy the full SHA
    4911d0a View commit details
    Browse the repository at this point in the history
  12. Merge branch 'feature/webpack' of github.com:zeit/next.js into featur…

    …e/webpack
    
    # Conflicts:
    #	server/build/webpack.js
    timneutkens committed Jan 19, 2018
    Configuration menu
    Copy the full SHA
    f820315 View commit details
    Browse the repository at this point in the history
  13. Add missing r

    timneutkens committed Jan 19, 2018
    Configuration menu
    Copy the full SHA
    8e9f8c7 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    7e9fa41 View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2018

  1. Use min.js

    timneutkens committed Jan 20, 2018
    Configuration menu
    Copy the full SHA
    1e6e829 View commit details
    Browse the repository at this point in the history
  2. Remove css.js

    timneutkens committed Jan 20, 2018
    Configuration menu
    Copy the full SHA
    3897e64 View commit details
    Browse the repository at this point in the history
  3. Remove wallaby.js

    timneutkens committed Jan 20, 2018
    Configuration menu
    Copy the full SHA
    9f4de5b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0aa6aac View commit details
    Browse the repository at this point in the history
  5. Merge branch 'canary' of github.com:zeit/next.js into feature/webpack

    # Conflicts:
    #	package.json
    #	server/build/babel/preset.js
    #	server/build/webpack.js
    #	server/index.js
    #	yarn.lock
    timneutkens committed Jan 20, 2018
    Configuration menu
    Copy the full SHA
    65c0747 View commit details
    Browse the repository at this point in the history
  6. 1 Configuration menu
    Copy the full SHA
    a13f3e4 View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2018

  1. Configuration menu
    Copy the full SHA
    15d2280 View commit details
    Browse the repository at this point in the history
  2. Resolve next modules

    timneutkens committed Jan 21, 2018
    1 Configuration menu
    Copy the full SHA
    280b9c7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3479800 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2018

  1. Revert "Resolve relative to workdir instead of next"

    This reverts commit a13f3e4.
    timneutkens committed Jan 22, 2018
    Configuration menu
    Copy the full SHA
    49b119b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5650e50 View commit details
    Browse the repository at this point in the history
  3. Remove server aliases

    timneutkens committed Jan 22, 2018
    Configuration menu
    Copy the full SHA
    e7a938c View commit details
    Browse the repository at this point in the history
  4. 1 Configuration menu
    Copy the full SHA
    827c813 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    aeea881 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2018

  1. Make sure dynamic imports work locally.

    This is why we need it: https://github.com/webpack/webpack/blob/b545b519b2024e3f8be3041385bd326bf5d24449/lib/MainTemplate.js#L68
    We need to have the finally clause in the above in __webpack_require__.
    webpack output option strictModuleExceptionHandling does that.
    arunoda committed Jan 23, 2018
    Configuration menu
    Copy the full SHA
    f9e9712 View commit details
    Browse the repository at this point in the history
  2. dynmaic -> dynamic

    timneutkens committed Jan 23, 2018
    Configuration menu
    Copy the full SHA
    6845af9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    89f5563 View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2018

  1. Configuration menu
    Copy the full SHA
    c8f9c70 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    53c9a6b View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2018

  1. Configuration menu
    Copy the full SHA
    d6dee1e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ef5f3de View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2018

  1. Configuration menu
    Copy the full SHA
    96b99ac View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    440b39f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c73853c View commit details
    Browse the repository at this point in the history
  4. Remove unused modules

    timneutkens committed Jan 29, 2018
    Configuration menu
    Copy the full SHA
    3269104 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e38c605 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    01c84a1 View commit details
    Browse the repository at this point in the history
  7. Make sure ondemand entries working correctly.

    Now we are just using a single instance of OnDemandEntryHandler.
    arunoda committed Jan 29, 2018
    Configuration menu
    Copy the full SHA
    91ce3f9 View commit details
    Browse the repository at this point in the history
  8. Better sourcemaps

    timneutkens committed Jan 29, 2018
    Configuration menu
    Copy the full SHA
    a62b764 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    415de61 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    3de72fc View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    256ad20 View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2018

  1. Fix a typo.

    arunoda committed Jan 30, 2018
    Configuration menu
    Copy the full SHA
    563c9c3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3b0d1f8 View commit details
    Browse the repository at this point in the history
  3. Add section on css

    timneutkens committed Jan 30, 2018
    Configuration menu
    Copy the full SHA
    3018694 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1226b3d View commit details
    Browse the repository at this point in the history