This repository has been archived on 2026-03-06. You can view files and clone it, but cannot push or open issues or pull requests.
todo/client/node_modules/resolve-url-loader/lib/engine/fail-processing.js
2025-06-13 14:04:40 +08:00

19 lines
425 B
JavaScript

/*
* MIT License http://opensource.org/licenses/MIT
* Author: Ben Holloway @bholloway
*/
'use strict';
/**
* Process the given CSS content into reworked CSS content.
*/
function process() {
return new Promise(function (_, reject) {
setTimeout(function () {
reject(new Error('This "engine" is designed to fail at processing time, for testing purposes only'));
}, 100);
});
}
module.exports = process;