Skip to content

Commit 5d6376e

Browse files
Rename to babel.config.cjs
1 parent c837f02 commit 5d6376e

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed
File renamed without changes.

nx.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"namedInputs": {
2929
"globalBuildAffectingConfig": [
3030
"{workspaceRoot}/.browserslistrc",
31-
"{workspaceRoot}/babel.config.js",
31+
"{workspaceRoot}/babel.config.cjs",
3232
"{workspaceRoot}/package.json",
3333
"{workspaceRoot}/scripts/getRollupConfig.mjs",
3434
"{workspaceRoot}/tsconfig.json"

scripts/getRollupConfig.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const forceEnvPlugin = (type) =>
2323
/** @param {'legacy' | 'modern'} type */
2424
const babelPlugin = (type) =>
2525
babel({
26-
configFile: resolve(rootDir, 'babel.config.js'),
26+
configFile: resolve(rootDir, 'babel.config.cjs'),
2727
browserslistConfigFile: type === 'modern' ? true : false,
2828
targets:
2929
type === 'modern'

0 commit comments

Comments
 (0)