module.exports = {
    entry: {
      app: ['./web-src/es6/app.js']<% if (useJQuery || useBootstrap) { %>,
      libs: ['./web-src/js/dist/libs.all.js']
      <% } %>
    },
    output: {
      <% if (useJQuery || useBootstrap) { %>
        path: '/web/js'
      <% } else { %>
        filename: 'bundle.js'
      <% } %>
    },
    module: {
      rules: [
        {
          test: /\.jsx?$/,
          loader: 'babel-loader',
          query: {
              presets: ['es2015']
          }
        }
      ]
    }
};

module.exports = {
    entry: {
      app: ['./web-src/es6/app.js'<% if (useJQuery || useBootstrap) { %>, './web-src/js/dist/libs.all.js'<% } %>]
    },
    output: {
      filename: 'bundle.js'
    },
    module: {
      rules: [
        {
          test: /\.jsx?$/,
          loader: 'babel-loader',
          query: {
              presets: ['es2015']
          }
        }
      ]
    }
};

Fix that webpack task for good
Fix that webpack task for good
