webpack/test/fixtures/count-loader.js

7 lines
149 B
JavaScript
Raw Normal View History

2018-06-20 03:41:23 +08:00
let counter = 0;
/** @type {import("../../../../").LoaderDefinition} */
module.exports = function () {
2018-06-20 03:41:23 +08:00
return `module.exports = ${counter++};`;
};