"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const schematics_1 = require("@angular-devkit/schematics");
function default_1(_options) {
    return schematics_1.chain([
        (tree, _context) => {
            if (tree.exists('/src/theme/variables.css')) {
                console.warn(`Skip add ionic angular as src/theme/variable.css already exists `);
            }
            else {
                return schematics_1.externalSchematic('@ionic/angular', 'ng-add', _options);
            }
        }
    ]);
}
exports.default = default_1;
//# sourceMappingURL=index.js.map