made use of webpacks alias

This commit is contained in:
knoxfighter 2018-08-20 02:39:56 +02:00
parent 62c469e801
commit 56e8d67473
9 changed files with 11 additions and 8 deletions

View File

@ -1,7 +1,7 @@
import React from 'react';
import {instanceOfModsContent} from "./ModsPropTypes";
import PropTypes from "prop-types";
import {ReactSwalNormal} from './../../../js/customSwal';
import {ReactSwalNormal} from 'Utilities/customSwal';
class ModLoadSave extends React.Component {
constructor(props) {

View File

@ -7,7 +7,7 @@ import ModManager from "./ModManager.jsx";
import ModPacks from "./packs/ModPackOverview.jsx";
import {instanceOfModsContent} from "./ModsPropTypes.js";
import ModLoadSave from "./ModLoadSave.jsx";
import {ReactSwalNormal} from './../../../js/customSwal';
import {ReactSwalNormal} from 'Utilities/customSwal';
import FontAwesomeIcon from "../FontAwesomeIcon";
class ModOverview extends React.Component {

View File

@ -4,7 +4,7 @@ import NativeListener from 'react-native-listener';
import {instanceOfModsContent} from "../ModsPropTypes.js";
import locks from "locks";
import PropTypes from "prop-types";
import {ReactSwalNormal, ReactSwalDanger} from './../../../../js/customSwal';
import {ReactSwalNormal, ReactSwalDanger} from 'Utilities/customSwal';
import FontAwesomeIcon from "../../FontAwesomeIcon";
class ModPackOverview extends React.Component {

View File

@ -4,7 +4,7 @@ import {Link} from 'react-router-dom';
import ModOverview from './Mods/ModOverview.jsx';
import locks from "locks";
import SemVer from 'semver';
import {ReactSwalNormal, ReactSwalDanger} from './../../js/customSwal';
import {ReactSwalNormal, ReactSwalDanger} from 'Utilities/customSwal';
import FontAwesomeIcon from "./FontAwesomeIcon";
class ModsContent extends React.Component {

View File

@ -1,7 +1,7 @@
import React from 'react';
import PropTypes from 'prop-types';
import Save from './Save.jsx';
import {ReactSwalDanger, ReactSwalNormal} from './../../../js/customSwal';
import {ReactSwalDanger, ReactSwalNormal} from 'Utilities/customSwal';
class SavesList extends React.Component {
constructor(props) {

View File

@ -1,6 +1,6 @@
import React from 'react';
import PropTypes from 'prop-types';
import {ReactSwalNormal} from './../../../js/customSwal';
import {ReactSwalNormal} from 'Utilities/customSwal';
import FontAwesomeIcon from "../FontAwesomeIcon";
class ServerCtl extends React.Component {

View File

@ -1,6 +1,6 @@
import React from 'react';
import PropTypes from 'prop-types';
import {ReactSwalNormal} from './../../../js/customSwal';
import {ReactSwalNormal} from 'Utilities/customSwal';
import FontAwesomeIcon from "../FontAwesomeIcon";
class AddUser extends React.Component {

View File

@ -1,6 +1,6 @@
import React from 'react';
import PropTypes from 'prop-types';
import {ReactSwalDanger, ReactSwalNormal} from './../../../js/customSwal';
import {ReactSwalDanger, ReactSwalNormal} from 'Utilities/customSwal';
class UserTable extends React.Component {
constructor(props) {

View File

@ -22,5 +22,8 @@ module.exports = {
}
}
]
},
performance: {
hints: false
}
}