# Webpack is not been extendend

**URL:** <https://forum.shopware.com/t/webpack-is-not-been-extendend/91323>\
**Category:** Administration (EN)\
**Tags:** administration, programming\
**Created:** [5. November 2021 um 16:11 UTC](https://forum.shopware.com/t/webpack-is-not-been-extendend/91323 "2021-11-05T16:11:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![CRRomero](https://avatars.discourse-cdn.com/v4/letter/c/439d5e/32.png) [@CRRomero](https://forum.shopware.com/u/CRRomero)\
**Post date:** [5. November 2021 um 16:11 UTC](https://forum.shopware.com/t/webpack-is-not-been-extendend/91323/1 "2021-11-05T16:11:27Z")

</div>

I was able to expand webpack since version 6.4 with the following configuration:

```auto
const isDev = process.env.mode === 'development';
module.exports = () => {
    if (isDev) {
        return {
            devServer: {
                host: "dev_host",
                port: 8080,
                open: true
            },
            watchOptions: {
                aggregateTimeout: 200,
                poll: 1000
            }
        }
    }
};

```

Now it seems that this configuration is been ignored, even though my plugin was successfully extend the webpack main configuration.

There is something that changed? I did not went deep on this subject but before I wanted to see if there is something that I missed? …

Regards,

Roberto.
