diff --git a/src/bundles/analytics.js b/src/bundles/analytics.js index eb1544636..f1c4c144d 100644 --- a/src/bundles/analytics.js +++ b/src/bundles/analytics.js @@ -3,7 +3,7 @@ // @ts-ignore import root from 'window-or-global' import changeCase from 'change-case' -import * as Enum from './enum.js' +import * as Enum from '../lib/enum.js' import { createSelector } from 'redux-bundler' import { ACTIONS as FILES } from './files/consts.js' import { ACTIONS as CONIFG } from './config-save.js' diff --git a/src/bundles/config-save.js b/src/bundles/config-save.js index 1c6a32c90..f1104e3ae 100644 --- a/src/bundles/config-save.js +++ b/src/bundles/config-save.js @@ -1,6 +1,6 @@ // @ts-check -import * as Enum from './enum.js' +import * as Enum from '../lib/enum.js' import { perform } from './task.js' /** diff --git a/src/bundles/experiments.js b/src/bundles/experiments.js index 550b02e60..c0241d732 100644 --- a/src/bundles/experiments.js +++ b/src/bundles/experiments.js @@ -1,5 +1,5 @@ import { createSelector } from 'redux-bundler' -import * as Enum from './enum.js' +import * as Enum from '../lib/enum.js' export const ACTIONS = Enum.from([ 'EXPERIMENTS_TOGGLE', 'EXPERIMENTS_UPDATE_STATE' diff --git a/src/bundles/ipfs-provider.js b/src/bundles/ipfs-provider.js index e2be74a8b..5a0cf3b9f 100644 --- a/src/bundles/ipfs-provider.js +++ b/src/bundles/ipfs-provider.js @@ -3,7 +3,7 @@ import { multiaddr } from '@multiformats/multiaddr' import { getIpfs, providers } from 'ipfs-provider' import first from 'it-first' import last from 'it-last' -import * as Enum from './enum.js' +import * as Enum from '../lib/enum.js' import { perform } from './task.js' import { readSetting, writeSetting } from './local-storage.js' diff --git a/src/bundles/enum.js b/src/lib/enum.js similarity index 100% rename from src/bundles/enum.js rename to src/lib/enum.js diff --git a/tsconfig.json b/tsconfig.json index b1b9c673e..ec69689fc 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -62,7 +62,7 @@ "src/bundles/analytics.js", "src/bundles/config-save.js", "src/bundles/connected.js", - "src/bundles/enum.js", + "src/lib/enum.js", "src/bundles/experiments.js", "src/bundles/ipfs-desktop.js", "src/bundles/ipfs-provider.js",