v22.1.0
-
Gracefully handle sourcemaps when running component tests with webpack and chunks enabled (default behavior), fixes #1296.
-
Avoid setting
sourcesContent: falseto esbuild when using theprettySourceMapoption, relates to #1285.-
This means that the default bundle when using
prettySourceMapis larger and may affect performance. However, the in-app experience is likely more aligned with user expectation. Users can disable this behavior by explicitly configuringsourcesContent: falsethemselves, as shown below.on( "file:preprocessor", createBundler({ sourcesContent: false, plugins: [createEsbuildPlugin(config, { prettySourceMap: true })], }) );
-