Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
},
{
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'] })
]
};
}