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

feat!: support and use webpack 5 as default #6060

Merged
merged 49 commits into from
Dec 3, 2020

Commits on Nov 16, 2020

  1. feat!: support webpack 5

    Work-in-Progress
    
    TODOs:
    - Support opting-out to webpack 4
    - Document the breaking changes
    - Fix the few remaining failing tests
    - Fix Vue 3 test setup (maybe in another PR)
    - Preload plugin should support html-webpack-plugin v4
    haoqunjiang committed Nov 16, 2020
    Configuration menu
    Copy the full SHA
    ce5125f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d51e8e8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ee8ae18 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fa51eb2 View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2020

  1. Configuration menu
    Copy the full SHA
    3c212fe View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    413aa31 View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2020

  1. fix: force upgrade all deps to webpack 5 for now

    webpack 4 compat is too cumbersome and let's forget about that for now
    haoqunjiang committed Nov 20, 2020
    Configuration menu
    Copy the full SHA
    33213e6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5542e35 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f2ebf83 View commit details
    Browse the repository at this point in the history
  4. test: fix jest args order

    haoqunjiang committed Nov 20, 2020
    Configuration menu
    Copy the full SHA
    920db51 View commit details
    Browse the repository at this point in the history
  5. fix: use vue-loader v16 as the main vue-loader dependency

    This avoids incorrect hoisting caused by vuepress sharing the vue-loader
    dependency, which falsely injects webpack v4 into the dependencies of
    vue-loader v15.
    
    Also added a hot fix for vue-cli-plugin-apollo
    haoqunjiang committed Nov 20, 2020
    Configuration menu
    Copy the full SHA
    7c672bd View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5185a69 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    deb3810 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    d6c4ea1 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    afa05b2 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    b5ba3c5 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    8a04d92 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2020

  1. test: fix cmd arg

    haoqunjiang committed Nov 21, 2020
    Configuration menu
    Copy the full SHA
    6e1b2f6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    babd417 View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2020

  1. feat!: upgrade pwa plugin to work with webpack 5

    workbox-webpack-plugin upgraded from v4 to v6 alpha. Need further
    testing to make sure it works correctly. But for now, at least the
    existing tests have passed
    haoqunjiang committed Nov 22, 2020
    Configuration menu
    Copy the full SHA
    f35ae5b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    24f5d4a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    85bf493 View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2020

  1. Configuration menu
    Copy the full SHA
    43a8272 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bed72d4 View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2020

  1. Configuration menu
    Copy the full SHA
    61d7424 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9480af2 View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2020

  1. Configuration menu
    Copy the full SHA
    4f16452 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    feb94d1 View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2020

  1. Configuration menu
    Copy the full SHA
    994b11f View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2020

  1. Configuration menu
    Copy the full SHA
    5842c45 View commit details
    Browse the repository at this point in the history
  2. fix: read the asset source from outputFileSystem

    In webpack 5, compilation.asset is a SizeOnlySource, so we have to
    read the source directly from the fs
    haoqunjiang committed Nov 27, 2020
    Configuration menu
    Copy the full SHA
    37b4b42 View commit details
    Browse the repository at this point in the history
  3. fix: fix progress data

    haoqunjiang committed Nov 27, 2020
    Configuration menu
    Copy the full SHA
    6494c70 View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2020

  1. Configuration menu
    Copy the full SHA
    596f5f3 View commit details
    Browse the repository at this point in the history
  2. chore: update lockfile

    haoqunjiang committed Nov 30, 2020
    Configuration menu
    Copy the full SHA
    71b9f0e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4954ccc View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b95cbc2 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    97a1849 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    94d609e View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2020

  1. Configuration menu
    Copy the full SHA
    a4e3cf5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    696811a View commit details
    Browse the repository at this point in the history
  3. chore: clean up

    haoqunjiang committed Dec 1, 2020
    Configuration menu
    Copy the full SHA
    78061d7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e46fda2 View commit details
    Browse the repository at this point in the history
  5. chore: add terser-webpack-plugin v4 back

    It's a little bit tricky to update this plugin. So we'll reconsider it
    later.
    haoqunjiang committed Dec 1, 2020
    Configuration menu
    Copy the full SHA
    3adc207 View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2020

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

Commits on Dec 3, 2020

  1. Configuration menu
    Copy the full SHA
    747b23f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ab3e4cb View commit details
    Browse the repository at this point in the history
  3. fix: properly test webpack 4

    note: dev server hmr is not working correctly
    haoqunjiang committed Dec 3, 2020
    Configuration menu
    Copy the full SHA
    e685e66 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2fb6bb3 View commit details
    Browse the repository at this point in the history
  5. test: remove .only

    haoqunjiang committed Dec 3, 2020
    Configuration menu
    Copy the full SHA
    da4df86 View commit details
    Browse the repository at this point in the history