Menu icon Foundation
Can't get any JS plugin to work in 6.4

I spent the last 3 days with learning how to deal with Webpack 2 in order to get things working on ZF 6.4. I also spent a lot of time wiht testing (see my repo on https://github.com/digitaldomainwebsolutions/Webpack).

In my tests I was able to setup a project, getting jQuery 3, jQuery UI and some scipts to work with Webpack 2. Now I tried to get JS working on ZF 6.4. This means: importing / requiring jQuery UI, some other jQuery plugins and some scripts I wrote by myself. With ZF 6.3 everything was working fine.

But what ever I try… it doesn't work. Of course I stick to the Webpack docs on https://webpack.js.org/configuration/ and make use uf the knowledge I gained in the last 3 days learning Webpack. See https://github.com/digitaldomainwebsolutions/Webpack/blob/master/src/index.js for example how I call other scripts (jQuery, jQuery UI etc.).

When I do the same in Webpack 2 in ZF 6.4 it doesn't work at all. What am I doing wrong? I don't understand this.

Is there anybody able to give me a hint?

foundation 6.4webpack 2javascriptplugins

I spent the last 3 days with learning how to deal with Webpack 2 in order to get things working on ZF 6.4. I also spent a lot of time wiht testing (see my repo on https://github.com/digitaldomainwebsolutions/Webpack).

In my tests I was able to setup a project, getting jQuery 3, jQuery UI and some scipts to work with Webpack 2. Now I tried to get JS working on ZF 6.4. This means: importing / requiring jQuery UI, some other jQuery plugins and some scripts I wrote by myself. With ZF 6.3 everything was working fine.

But what ever I try… it doesn't work. Of course I stick to the Webpack docs on https://webpack.js.org/configuration/ and make use uf the knowledge I gained in the last 3 days learning Webpack. See https://github.com/digitaldomainwebsolutions/Webpack/blob/master/src/index.js for example how I call other scripts (jQuery, jQuery UI etc.).

When I do the same in Webpack 2 in ZF 6.4 it doesn't work at all. What am I doing wrong? I don't understand this.

Is there anybody able to give me a hint?