mirror of https://github.com/webpack/webpack.git
19 lines
333 B
JavaScript
19 lines
333 B
JavaScript
const Compiler = require('../../../../lib/Compiler');
|
|
|
|
module.exports = {
|
|
optimization: {
|
|
minimize: true,
|
|
minimizer: [
|
|
{
|
|
apply(compiler) {
|
|
expect(compiler).toBeInstanceOf(Compiler);
|
|
},
|
|
},
|
|
function(compiler) {
|
|
expect(compiler).toBe(this);
|
|
expect(compiler).toBeInstanceOf(Compiler);
|
|
}
|
|
],
|
|
},
|
|
};
|