How to use the aurelia-webpack-plugin.ModuleDependenciesPlugin function in aurelia-webpack-plugin

To help you get started, we’ve selected a few aurelia-webpack-plugin examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github aurelia-contrib / aurelia-plugin-skeleton-ts-webpack / webpack.config.ts View on Github external
},
        {
          test: /\.(jpe?g|png|gif|svg|tff|eot|otf|woff2?)$/i,
          use: [load.file]
        }
      ]
    },
    plugins: [
      new HtmlWebpackPlugin({
        template: 'demo/index.ejs',
        metadata: { title: pkg.name, server, baseUrl, debug: !production },
        minify: !!production && minifyOpts
      }),
      new AureliaPlugin(),
      new webpack.ProvidePlugin({ Promise: 'bluebird' }),
      new ModuleDependenciesPlugin({ 'aurelia-testing': ['./compile-spy', './view-spy'] })
    ]
  };
}

aurelia-webpack-plugin

A plugin for webpack that enables bundling Aurelia applications.

MIT
Latest version published 1 year ago

Package Health Score

57 / 100
Full package analysis