Skip to content

Commit

Permalink
Fix the assets file names in the DEWP's README
Browse files Browse the repository at this point in the history
Output and assets file paths and names are constructed from the `output` config, which may be different from just the `entrypoint`.
  • Loading branch information
tomalec committed Jul 14, 2023
1 parent 6c0863c commit e8f3e85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/dependency-extraction-webpack-plugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ For example:
// Source file entrypoint.js
import { Component } from '@wordpress/element';
// Webpack will produce the output output/entrypoint.js
// Webpack will produce the output `output/path/name.ext`
/* bundled JavaScript output */
// Webpack will also produce output/entrypoint.asset.php declaring script dependencies
// Webpack will also produce `output/path/name.asset.php` declaring script dependencies
<?php return array('dependencies' => array('wp-element'), 'version' => 'dd4c2dc50d046ed9d4c063a7ca95702f');
```

Expand Down

0 comments on commit e8f3e85

Please sign in to comment.