Skip to content

Commit af02f50

Browse files
Fix issue: WorkspaceTaskSubType.META_DESCRIPTION
1 parent 83d26fb commit af02f50

File tree

1 file changed

+1
-2
lines changed
  • src/content/docs/workers/wrangler/migration/v1-to-v2/wrangler-legacy

1 file changed

+1
-2
lines changed

src/content/docs/workers/wrangler/migration/v1-to-v2/wrangler-legacy/webpack.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
pcx_content_type: configuration
33
title: Webpack
4+
description: Learn how to migrate from Wrangler v1 to v2 using webpack. This guide covers configuration, custom builds, and compatibility for Cloudflare Workers.
45
sidebar:
56
order: 5
67

@@ -14,12 +15,10 @@ Wrangler allows you to develop modern ES6 applications with support for modules.
1415

1516
:::note[Configuration and webpack version]
1617

17-
1818
Wrangler includes `webpack@4`. If you want to use `webpack@5`, or another bundler like esbuild or Rollup, you must set up [custom builds](/workers/wrangler/migration/v1-to-v2/wrangler-legacy/configuration/#build) in your Wrangler file.
1919

2020
You must set `type = "webpack"` in your Wrangler file to use Wrangler's webpack integration. If you are encountering warnings about specifying `webpack_config`, refer to [backwards compatibility](#backwards-compatibility).
2121

22-
2322
:::
2423

2524
## Sensible defaults

0 commit comments

Comments
 (0)