Skip to content

v22.1.0

Choose a tag to compare

@badeball badeball released this 07 Jun 15:13
· 65 commits to master since this release
  • Gracefully handle sourcemaps when running component tests with webpack and chunks enabled (default behavior), fixes #1296.

  • Avoid setting sourcesContent: false to esbuild when using the prettySourceMap option, relates to #1285.

    • This means that the default bundle when using prettySourceMap is larger and may affect performance. However, the in-app experience is likely more aligned with user expectation. Users can disable this behavior by explicitly configuring sourcesContent: false themselves, as shown below.

      on(
        "file:preprocessor",
        createBundler({
          sourcesContent: false,
          plugins: [createEsbuildPlugin(config, { prettySourceMap: true })],
        })
      );