Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
25 lines
No EOL
675 B
Text
25 lines
No EOL
675 B
Text
/**
|
|
* **PostCSS Plugin Warning**
|
|
*
|
|
* Loader wrapper for postcss plugin warnings (`root.messages`)
|
|
*
|
|
* @class Warning
|
|
* @extends Error
|
|
*
|
|
* @param {Object} warning PostCSS Warning
|
|
*/ export default class Warning extends Error {
|
|
constructor(warning){
|
|
super(warning);
|
|
const { text, line, column, plugin } = warning;
|
|
this.name = 'Warning';
|
|
this.message = `${this.name}\n\n`;
|
|
if (typeof line !== 'undefined') {
|
|
this.message += `(${line}:${column}) `;
|
|
}
|
|
this.message += plugin ? `${plugin}: ` : '';
|
|
this.message += text;
|
|
this.stack = false;
|
|
}
|
|
}
|
|
|
|
//# sourceMappingURL=Warning.js.map |