diff options
author | Kristóf Marussy <kristof@marussy.com> | 2022-01-08 21:36:43 +0100 |
---|---|---|
committer | Kristóf Marussy <kristof@marussy.com> | 2022-01-09 19:53:03 +0100 |
commit | d07e7b834831230b53860d0919a68edc2d36193d (patch) | |
tree | a1f2a021563ddff54f33341c475fc6c6eb787388 /packages/main/esbuild.config.js | |
parent | New configurations based on review comments (WIP) (diff) | |
download | sophie-d07e7b834831230b53860d0919a68edc2d36193d.tar.gz sophie-d07e7b834831230b53860d0919a68edc2d36193d.tar.zst sophie-d07e7b834831230b53860d0919a68edc2d36193d.zip |
build: Eslint fixes for multi-module project
Signed-off-by: Kristóf Marussy <kristof@marussy.com>
Diffstat (limited to 'packages/main/esbuild.config.js')
-rw-r--r-- | packages/main/esbuild.config.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/main/esbuild.config.js b/packages/main/esbuild.config.js index c24d6e1..49fba6b 100644 --- a/packages/main/esbuild.config.js +++ b/packages/main/esbuild.config.js | |||
@@ -1,8 +1,8 @@ | |||
1 | /* eslint-disable no-process-env */ | ||
2 | import getRepoInfo from 'git-repo-info'; | 1 | import getRepoInfo from 'git-repo-info'; |
2 | |||
3 | import { node } from '../../config/buildConstants.js'; | 3 | import { node } from '../../config/buildConstants.js'; |
4 | import { getConfig } from '../../config/esbuildConfig.js'; | 4 | import fileURLToDirname from '../../config/fileURLToDirname.js'; |
5 | import { fileURLToDirname } from '../../config/utils.js'; | 5 | import getEsbuildConfig from '../../config/getEsbuildConfig.js'; |
6 | 6 | ||
7 | const externalPackages = ['electron']; | 7 | const externalPackages = ['electron']; |
8 | 8 | ||
@@ -12,7 +12,7 @@ if (process.env.MODE !== 'development') { | |||
12 | 12 | ||
13 | const gitInfo = getRepoInfo(); | 13 | const gitInfo = getRepoInfo(); |
14 | 14 | ||
15 | export default getConfig({ | 15 | export default getEsbuildConfig({ |
16 | absWorkingDir: fileURLToDirname(import.meta.url), | 16 | absWorkingDir: fileURLToDirname(import.meta.url), |
17 | entryPoints: [ | 17 | entryPoints: [ |
18 | 'src/index.ts', | 18 | 'src/index.ts', |