@luban-cli/cli-plugin-service
Version:
A development runtime environment dependency
14 lines • 423 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
class Watch {
apply(args) {
const { api } = args;
api.chainAllWebpack((webpackConfig) => {
webpackConfig.watchOptions({
ignored: [`${api.getContext()}/src/index.tsx`, `${api.getContext()}/src/route.ts`],
});
});
}
}
exports.default = Watch;
//# sourceMappingURL=watch.js.map