Skip to content

webpack 4.0.0-alpha.2 feedback #6179

@sokra

Description

@sokra

4.0.0-alpha.0
4.0.0-alpha.1

Big features

  • WebAssembly modules can now import other modules (JS and WASM)
  • Exports from WebAssembly modules are validated by ESM import
    • You'll get a warning/error when trying to import a non-existing export from WASM
  • Stats can display modules nested in concatenated modules
  • UglifyJs now caches and parallizes by default

Features

  • Referencing entry point name in import() now emits a error instead of a warning
  • output.hashFunction can now be a Constructor to a custom hash function
    • You can provide a non-cryto hash function for performance reasons
  • Unused modules are no longer unnecessarly concatenated

Bugfixes

  • Using module.id/loaded now correctly bails out of Module Concatentation (Scope Hoisting)
  • OccurenceOrderPlugin now sorts modules in correct order (instead of reversed)

Internal changes

  • Replaced plugin calls with tap calls (new plugin system)

Please comment if you find additional changes not in the changelog

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions