UNPKG

@luban-cli/cli-plugin-service

Version:
14 lines 423 B
"use strict"; 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