Skip to content
代码片段 群组 项目
提交 c097f349 编辑于 作者: Albert Salim's avatar Albert Salim
浏览文件

Fix failure in qa-frontend-node:10

上级 4178b7be
No related branches found
No related tags found
无相关合并请求
......@@ -8,7 +8,9 @@ const log = (msg, ...rest) => console.log(`IncrementalWebpackCompiler: ${msg}`,
const TIMEOUT = 5000;
class NoopCompiler {
enabled = false;
constructor() {
this.enabled = false
}
filterEntryPoints(entryPoints) {
return entryPoints;
......@@ -20,8 +22,6 @@ class NoopCompiler {
}
class IncrementalWebpackCompiler extends NoopCompiler {
enabled = true;
constructor(historyFilePath) {
super();
this.history = {};
......@@ -33,6 +33,7 @@ class IncrementalWebpackCompiler extends NoopCompiler {
]);
this.historyFilePath = historyFilePath;
this.loadFromHistory();
this.enabled = true;
}
filterEntryPoints(entrypoints) {
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册