Skip to content

Commit 89c67e2

Browse files
committed
docs
1 parent 02fe150 commit 89c67e2

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

src/lib/transform-change-webpack-urls.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/**
2+
* Detects and analyzes a Webpack "entry" bundle, allowing String transformations on its internal chunk URL map.
3+
*
4+
* @example
5+
* {
6+
* plugins: [
7+
* ['./transform-change-webpack-urls', {
8+
* pattern: /\.js$/,
9+
* replacement: '.legacy.js'
10+
* }]
11+
* ]
12+
* }
13+
*
14+
* @see https://astexplorer.net/#/gist/0995f8452cfa62d797a2a778a3442b65/2e588cc89829971495ca8e38905bb5581a23cf5d
15+
*/
16+
117
/** @typedef NodePath @type {import('@babel/core').NodePath} */
218

319
export default function ({ types: t }) {

0 commit comments

Comments
 (0)