Fix typo (#15238)
This commit is contained in:
parent
d3a29bcdce
commit
065f363b81
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ const config = environment.toWebpackConfig();
|
|||
config.devtool = 'eval-source-map';
|
||||
|
||||
// Inject the preact/debug import into all the webpacker pack files (webpack entry points) that reference at least one Preact component
|
||||
// so that Preact compoonents can be debugged with the Preact DevTools.
|
||||
// so that Preact components can be debugged with the Preact DevTools.
|
||||
config.entry = Object.entries(config.entry).reduce(
|
||||
(previous, [entryPointName, entryPointFileName]) => {
|
||||
if (/\.jsx$/.test(entryPointFileName)) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue