diff options
author | Kristóf Marussy <kristof@marussy.com> | 2022-01-09 20:33:53 +0100 |
---|---|---|
committer | Kristóf Marussy <kristof@marussy.com> | 2022-01-09 20:33:53 +0100 |
commit | d85f09cbed5f3d2501f791e689011ae127df1cbb (patch) | |
tree | 0ed5be55dd5d3dec1d51eb60e7ff229274030a57 /config/getEsbuildConfig.js | |
parent | build: Disable single-run eslint-typescript (diff) | |
download | sophie-d85f09cbed5f3d2501f791e689011ae127df1cbb.tar.gz sophie-d85f09cbed5f3d2501f791e689011ae127df1cbb.tar.zst sophie-d85f09cbed5f3d2501f791e689011ae127df1cbb.zip |
build: Add prettier
eslint will also enforce prettier rules, so there is no need to call
prettier separately in CI.
Signed-off-by: Kristóf Marussy <kristof@marussy.com>
Diffstat (limited to 'config/getEsbuildConfig.js')
-rw-r--r-- | config/getEsbuildConfig.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/getEsbuildConfig.js b/config/getEsbuildConfig.js index b338d68..930f19f 100644 --- a/config/getEsbuildConfig.js +++ b/config/getEsbuildConfig.js | |||
@@ -25,7 +25,7 @@ export default function getEsbuildConfig(config, extraMetaEnvVars) { | |||
25 | js: banner, | 25 | js: banner, |
26 | }, | 26 | }, |
27 | ...config, | 27 | ...config, |
28 | sourcemap: isDevelopment ? (config.sourcemap || true) : false, | 28 | sourcemap: isDevelopment ? config.sourcemap || true : false, |
29 | define: { | 29 | define: { |
30 | 'process.env.NODE_ENV': modeString, | 30 | 'process.env.NODE_ENV': modeString, |
31 | 'process.env.MODE': modeString, | 31 | 'process.env.MODE': modeString, |