diff --git a/web/rollup.config.js b/web/rollup.config.js index d54842c85..d4a930e9b 100644 --- a/web/rollup.config.js +++ b/web/rollup.config.js @@ -29,6 +29,7 @@ export default [ ], plugins: [ typescript(), + // eslint-disable-next-line no-undef process.env.NODE_ENV === "production" ? terser() : undefined, ].filter(p => p), watch: { @@ -54,6 +55,7 @@ export default [ resolve({ browser: true }), commonjs(), sourcemaps(), + // eslint-disable-next-line no-undef process.env.NODE_ENV === "production" ? terser() : undefined, copy({ targets: [...resources], @@ -84,6 +86,7 @@ export default [ resolve({ browser: true }), commonjs(), sourcemaps(), + // eslint-disable-next-line no-undef process.env.NODE_ENV === "production" ? terser() : undefined, copy({ targets: [...resources], diff --git a/web/src/elements/EmptyState.ts b/web/src/elements/EmptyState.ts index 6b07cad37..0bd59547d 100644 --- a/web/src/elements/EmptyState.ts +++ b/web/src/elements/EmptyState.ts @@ -1,6 +1,6 @@ import { CSSResult, customElement, html, LitElement, property, TemplateResult } from "lit-element"; -import PFEmptyState from "@patternfly/patternfly/components/EmptyState/empty-state.css" -import PFBase from "@patternfly/patternfly/patternfly-base.css" +import PFEmptyState from "@patternfly/patternfly/components/EmptyState/empty-state.css"; +import PFBase from "@patternfly/patternfly/patternfly-base.css"; import FA from "@fortawesome/fontawesome-free/css/fontawesome.css"; @customElement("ak-empty-state")