@nx/next
Version:
10 lines (9 loc) • 442 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.showPossibleWarnings = showPossibleWarnings;
const devkit_1 = require("@nx/devkit");
function showPossibleWarnings(tree, options) {
if (options.style === '@emotion/styled' && options.appDir) {
devkit_1.logger.warn(`Emotion may not work with the App Router. See: https://nextjs.org/docs/app/building-your-application/styling/css-in-js`);
}
}