Skip to content

Commit 2661c91

Browse files
westonrutersirrealgemini-code-assist[bot]
committed
Simplify Webpack configuration for Espree.
By using 'espree' directly as the entry point, the proxy entry file 'tools/vendors/espree-entry.js' is no longer needed and can be removed. Co-authored-by: Jon Surrell <jonsurrell@git.wordpress.org> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent ca2ff24 commit 2661c91

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

tools/vendors/espree-entry.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

tools/webpack/codemirror.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ module.exports = ( env = { buildTarget: 'src/' } ) => {
5151
target: 'browserslist',
5252
mode: 'production',
5353
entry: {
54-
'espree.min': './tools/vendors/espree-entry.js',
54+
'espree.min': 'espree',
5555
},
5656
output: {
5757
path: outputPath,

0 commit comments

Comments
 (0)