chore: frontend formatting
This commit is contained in:
parent
d630485051
commit
43832d165f
|
@ -17,14 +17,12 @@ const config = {
|
||||||
fallback: 'index.html'
|
fallback: 'index.html'
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
onwarn: (warning, handler) => {
|
onwarn: (warning, handler) => {
|
||||||
const { code, _ } = warning;
|
const { code, _ } = warning;
|
||||||
if (code === "css-unused-selector")
|
if (code === 'css-unused-selector') return;
|
||||||
return;
|
|
||||||
|
|
||||||
handler(warning);
|
|
||||||
},
|
|
||||||
|
|
||||||
|
handler(warning);
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
export default config;
|
export default config;
|
||||||
|
|
Loading…
Reference in New Issue