-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(transform): 플러그인맵 상수 폴더로 이동
- Loading branch information
Showing
2 changed files
with
15 additions
and
14 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,20 @@ | ||
import transformStrictMode from '../transform-strict-mode.js'; | ||
import transformEsmToCjs from '../transform-esm-to-cjs.js'; | ||
|
||
export const DEFAULT_OPTIONS = { | ||
requireCode: true, | ||
requireAst: false, | ||
}; | ||
|
||
export const DEFAULT_IMPORT_KEYWORD = '_default'; | ||
|
||
export const PLUGIN_MAP = { | ||
strictMode: { | ||
plugin: transformStrictMode, | ||
conditions: [], | ||
}, | ||
esmToCjs: { | ||
plugin: transformEsmToCjs, | ||
conditions: [], | ||
}, | ||
}; |
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