Added baseurl
This commit is contained in:
parent
294f5d7252
commit
82e1f98e66
8 changed files with 21 additions and 19 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
import { useState } from 'react'
|
import { useState } from 'react'
|
||||||
import { ThemeProvider, Flex, Box } from 'theme-ui'
|
import { ThemeProvider, Flex, Box } from 'theme-ui'
|
||||||
import { theme } from '../theme'
|
import { theme } from 'theme'
|
||||||
import {
|
import {
|
||||||
Wifi,
|
Wifi,
|
||||||
MessageSquare,
|
MessageSquare,
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import { Dispatch, SetStateAction, ChangeEvent, useMemo } from 'react'
|
import { Dispatch, SetStateAction, ChangeEvent, useMemo } from 'react'
|
||||||
import { Label, Input, Box } from 'theme-ui'
|
import { Label, Input, Box } from 'theme-ui'
|
||||||
import detachDebugger from '../../utils/detachDebugger'
|
import detachDebugger from 'utils/detachDebugger'
|
||||||
import debounce from 'lodash.debounce'
|
import debounce from 'lodash.debounce'
|
||||||
|
|
||||||
interface DebouncedInputProps {
|
interface DebouncedInputProps {
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,13 @@
|
||||||
import { useState, useEffect, ChangeEvent, useCallback } from 'react'
|
import { useState, useEffect, ChangeEvent, useCallback } from 'react'
|
||||||
import { Box, Flex, Label, Select } from 'theme-ui'
|
import { Box, Flex, Label, Select } from 'theme-ui'
|
||||||
import Page from '../../components/Page'
|
import Page from 'popup/components/Page'
|
||||||
import Checkbox from '../../components/CheckBox'
|
import Checkbox from 'popup/components/CheckBox'
|
||||||
import DebouncedInput from '../../components/DebouncedInput'
|
import DebouncedInput from 'popup/components/DebouncedInput'
|
||||||
import detachDebugger from '../../../utils/detachDebugger'
|
import detachDebugger from 'utils/detachDebugger'
|
||||||
import countryLocales from '../../../utils/countryLocales'
|
import countryLocales from 'utils/countryLocales'
|
||||||
import configurations from '../../../utils/configurations'
|
import configurations from 'utils/configurations'
|
||||||
import { ipData } from '../../../types'
|
import getIp from 'utils/getIp'
|
||||||
import getIp from '../../../utils/getIp'
|
import { ipData } from 'types'
|
||||||
import { RotateCw } from 'react-feather'
|
import { RotateCw } from 'react-feather'
|
||||||
|
|
||||||
interface LocationPageProps {
|
interface LocationPageProps {
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import { Link, Text } from 'theme-ui'
|
import { Link, Text } from 'theme-ui'
|
||||||
import Page from '../../components/Page'
|
import Page from 'popup/components/Page'
|
||||||
import InfoItem from './InfoItem'
|
import InfoItem from './InfoItem'
|
||||||
|
|
||||||
interface SettingsPageProps {
|
interface SettingsPageProps {
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
import { useState, useEffect, ChangeEvent } from 'react'
|
import { useState, useEffect, ChangeEvent } from 'react'
|
||||||
import { Box, Label, Select } from 'theme-ui'
|
import { Box, Label, Select } from 'theme-ui'
|
||||||
import Checkbox from '../../components/CheckBox'
|
import Checkbox from 'popup/components/CheckBox'
|
||||||
import DebouncedInput from '../../components/DebouncedInput'
|
import DebouncedInput from 'popup/components/DebouncedInput'
|
||||||
import userAgents from '../../../utils/userAgents'
|
import userAgents from 'utils/userAgents'
|
||||||
import detachDebugger from '../../../utils/detachDebugger'
|
import detachDebugger from 'utils/detachDebugger'
|
||||||
import Page from '../../components/Page'
|
import Page from 'popup/components/Page'
|
||||||
|
|
||||||
interface UserAgentPageProps {
|
interface UserAgentPageProps {
|
||||||
tab: string
|
tab: string
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
import { Box, Image } from 'theme-ui'
|
import { Box, Image } from 'theme-ui'
|
||||||
import Page from '../../components/Page'
|
import Page from 'popup/components/Page'
|
||||||
import VpnItem from './VpnItem'
|
import VpnItem from './VpnItem'
|
||||||
import nordLogo from '../../../assets/nord.svg'
|
import nordLogo from 'assets/nord.svg'
|
||||||
import protonLogo from '../../../assets/proton.svg'
|
import protonLogo from 'assets/proton.svg'
|
||||||
|
|
||||||
interface VpnPageProps {
|
interface VpnPageProps {
|
||||||
tab: string
|
tab: string
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
|
"baseUrl": "./src",
|
||||||
"target": "es6",
|
"target": "es6",
|
||||||
"lib": ["dom", "dom.iterable", "esnext"],
|
"lib": ["dom", "dom.iterable", "esnext"],
|
||||||
"allowJs": false,
|
"allowJs": false,
|
||||||
|
|
|
||||||
|
|
@ -99,6 +99,7 @@ var options = {
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
resolve: {
|
resolve: {
|
||||||
|
modules: [path.resolve(__dirname, 'src'), 'node_modules'],
|
||||||
alias: alias,
|
alias: alias,
|
||||||
extensions: fileExtensions
|
extensions: fileExtensions
|
||||||
.map((extension) => '.' + extension)
|
.map((extension) => '.' + extension)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue