Woo AI - fix empty build dir due to entrypoint file extension match failure. (#40997)

* Woo AI - Fix empty build directory due to entry point file extension match failure.
This commit is contained in:
Thomas Shellberg 2023-10-26 12:25:11 +02:00 committed by GitHub
parent 7b00687a38
commit 51eff5c234
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -0,0 +1,4 @@
Significance: patch
Type: dev
Fix Woo AI webpack build configuration.

View File

@ -4,7 +4,7 @@ const WooCommerceDependencyExtractionWebpackPlugin = require( '@woocommerce/depe
module.exports = {
...defaultConfig,
entry: {
...defaultConfig.entry,
index: './src/index.ts',
},
module: {
...defaultConfig.module,