web: fix linting errors
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
67629ce0b7
commit
abbec501f7
|
@ -29,6 +29,7 @@ export default [
|
||||||
],
|
],
|
||||||
plugins: [
|
plugins: [
|
||||||
typescript(),
|
typescript(),
|
||||||
|
// eslint-disable-next-line no-undef
|
||||||
process.env.NODE_ENV === "production" ? terser() : undefined,
|
process.env.NODE_ENV === "production" ? terser() : undefined,
|
||||||
].filter(p => p),
|
].filter(p => p),
|
||||||
watch: {
|
watch: {
|
||||||
|
@ -54,6 +55,7 @@ export default [
|
||||||
resolve({ browser: true }),
|
resolve({ browser: true }),
|
||||||
commonjs(),
|
commonjs(),
|
||||||
sourcemaps(),
|
sourcemaps(),
|
||||||
|
// eslint-disable-next-line no-undef
|
||||||
process.env.NODE_ENV === "production" ? terser() : undefined,
|
process.env.NODE_ENV === "production" ? terser() : undefined,
|
||||||
copy({
|
copy({
|
||||||
targets: [...resources],
|
targets: [...resources],
|
||||||
|
@ -84,6 +86,7 @@ export default [
|
||||||
resolve({ browser: true }),
|
resolve({ browser: true }),
|
||||||
commonjs(),
|
commonjs(),
|
||||||
sourcemaps(),
|
sourcemaps(),
|
||||||
|
// eslint-disable-next-line no-undef
|
||||||
process.env.NODE_ENV === "production" ? terser() : undefined,
|
process.env.NODE_ENV === "production" ? terser() : undefined,
|
||||||
copy({
|
copy({
|
||||||
targets: [...resources],
|
targets: [...resources],
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { CSSResult, customElement, html, LitElement, property, TemplateResult } from "lit-element";
|
import { CSSResult, customElement, html, LitElement, property, TemplateResult } from "lit-element";
|
||||||
import PFEmptyState from "@patternfly/patternfly/components/EmptyState/empty-state.css"
|
import PFEmptyState from "@patternfly/patternfly/components/EmptyState/empty-state.css";
|
||||||
import PFBase from "@patternfly/patternfly/patternfly-base.css"
|
import PFBase from "@patternfly/patternfly/patternfly-base.css";
|
||||||
import FA from "@fortawesome/fontawesome-free/css/fontawesome.css";
|
import FA from "@fortawesome/fontawesome-free/css/fontawesome.css";
|
||||||
|
|
||||||
@customElement("ak-empty-state")
|
@customElement("ak-empty-state")
|
||||||
|
|
Reference in New Issue