Remove unused variable
This commit is contained in:
parent
35c7d6ff29
commit
d66c141e8d
4 changed files with 0 additions and 21 deletions
|
|
@ -1,8 +1,6 @@
|
|||
const { resolve } = require('path');
|
||||
|
||||
const config = require('@redhat-cloud-services/frontend-components-config');
|
||||
const { GitRevisionPlugin } = require('git-revision-webpack-plugin');
|
||||
const { DefinePlugin } = require('webpack');
|
||||
|
||||
const webpackProxy = {
|
||||
useProxy: true,
|
||||
|
|
@ -38,12 +36,6 @@ plugins.push(
|
|||
)
|
||||
);
|
||||
|
||||
plugins.push(
|
||||
new DefinePlugin({
|
||||
COMMITHASH: JSON.stringify(new GitRevisionPlugin().commithash()),
|
||||
})
|
||||
);
|
||||
|
||||
module.exports = {
|
||||
...webpackConfig,
|
||||
plugins,
|
||||
|
|
|
|||
|
|
@ -1,8 +1,6 @@
|
|||
const { resolve } = require('path');
|
||||
|
||||
const config = require('@redhat-cloud-services/frontend-components-config');
|
||||
const { GitRevisionPlugin } = require('git-revision-webpack-plugin');
|
||||
const { DefinePlugin } = require('webpack');
|
||||
const { config: webpackConfig, plugins } = config({
|
||||
rootFolder: resolve(__dirname, '../'),
|
||||
sassPrefix: '.imageBuilder',
|
||||
|
|
@ -21,12 +19,6 @@ plugins.push(
|
|||
)
|
||||
);
|
||||
|
||||
plugins.push(
|
||||
new DefinePlugin({
|
||||
COMMITHASH: JSON.stringify(new GitRevisionPlugin().commithash()),
|
||||
})
|
||||
);
|
||||
|
||||
module.exports = {
|
||||
...webpackConfig,
|
||||
plugins,
|
||||
|
|
|
|||
|
|
@ -35,9 +35,6 @@
|
|||
"!src/entry-dev.js"
|
||||
],
|
||||
"testEnvironment": "jsdom",
|
||||
"globals": {
|
||||
"COMMITHASH": "dummy"
|
||||
},
|
||||
"roots": [
|
||||
"<rootDir>/src/"
|
||||
],
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
/* global COMMITHASH */
|
||||
|
||||
import React, { Component } from 'react';
|
||||
|
||||
import { Button, Popover, Text, TextContent } from '@patternfly/react-core';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue