-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
91 changed files
with
1,468 additions
and
1,758 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
body { | ||
margin: 16px; | ||
} | ||
margin: 16px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,4 +6,4 @@ | |
<div id="app"></div> | ||
</body> | ||
<script src="./options.js"></script> | ||
</html> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,4 +10,4 @@ if (container) { | |
createRoot(container).render(<App />) | ||
} else { | ||
console.error('Container not found') | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
declare global { | ||
namespace NodeJS { | ||
interface ProcessEnv { | ||
IMAP_AUTH_HOST: string; | ||
IMAP_AUTH_USER: string; | ||
IMAP_AUTH_PASS: string; | ||
SECRET_PHRASE: string; | ||
IMAP_AUTH_HOST: string | ||
IMAP_AUTH_USER: string | ||
IMAP_AUTH_PASS: string | ||
SECRET_PHRASE: string | ||
} | ||
} | ||
} | ||
|
||
export {}; | ||
export {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
const path = require("path"); | ||
const path = require('path') | ||
|
||
const srcPath = path.resolve(__dirname, "../src"); | ||
const distPath = path.resolve(__dirname, "../dist"); | ||
const publicPath = path.resolve(__dirname, "../public"); | ||
const nodeModulesPath = path.resolve(__dirname, "../node_modules"); | ||
const srcPath = path.resolve(__dirname, '../src') | ||
const distPath = path.resolve(__dirname, '../dist') | ||
const publicPath = path.resolve(__dirname, '../public') | ||
const nodeModulesPath = path.resolve(__dirname, '../node_modules') | ||
|
||
module.exports = { | ||
srcPath, | ||
distPath, | ||
publicPath, | ||
nodeModulesPath, | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
const { merge } = require("webpack-merge"); | ||
const { merge } = require('webpack-merge') | ||
|
||
const loadPresets = (env = { presets: [] }) => { | ||
const presets = env.presets || []; | ||
const presets = env.presets || [] | ||
/** @type {string[]} */ | ||
const mergedPresets = [].concat(...[presets]); | ||
const mergedPresets = [].concat(...[presets]) | ||
const mergedConfigs = mergedPresets.map((presetName) => | ||
require(`./webpack.${presetName}.js`)(env) | ||
); | ||
) | ||
|
||
return merge({}, ...mergedConfigs); | ||
}; | ||
module.exports = loadPresets; | ||
return merge({}, ...mergedConfigs) | ||
} | ||
module.exports = loadPresets |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
const WebpackBundleAnalyzer = | ||
require("webpack-bundle-analyzer").BundleAnalyzerPlugin; | ||
const WebpackBundleAnalyzer = require('webpack-bundle-analyzer').BundleAnalyzerPlugin | ||
|
||
module.exports = () => ({ | ||
plugins: [new WebpackBundleAnalyzer()], | ||
}); | ||
}) |
Oops, something went wrong.