@dword-design/base 9.5.5 → 9.5.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import babelConfig from '@dword-design/babel-config';
|
|
2
1
|
import endent from "@dword-design/functions/dist/endent.js";
|
|
3
2
|
import identity from "@dword-design/functions/dist/identity.js";
|
|
4
3
|
import mapValues from "@dword-design/functions/dist/map-values.js";
|
|
@@ -10,6 +9,7 @@ import packageName from 'depcheck-package-name';
|
|
|
10
9
|
import depcheckParserBabel from 'depcheck-parser-babel';
|
|
11
10
|
import jiti from 'jiti';
|
|
12
11
|
import loadPkg from 'load-pkg';
|
|
12
|
+
import { createRequire } from 'module';
|
|
13
13
|
import P from 'path';
|
|
14
14
|
import { transform as pluginNameToPackageName } from 'plugin-name-to-package-name';
|
|
15
15
|
import checkUnknownFiles from "./commands/check-unknown-files/index.js";
|
|
@@ -37,6 +37,8 @@ import getRenovateConfig from "./get-generated-files/get-renovate/index.js";
|
|
|
37
37
|
import getVscodeConfig from "./get-generated-files/get-vscode/index.js";
|
|
38
38
|
import getGeneratedFiles from "./get-generated-files/index.js";
|
|
39
39
|
import getGitInfo from "./get-git-info/index.js";
|
|
40
|
+
const _require = createRequire(import.meta.url);
|
|
41
|
+
const babelConfig = _require('@dword-design/babel-config');
|
|
40
42
|
class Base {
|
|
41
43
|
constructor(config) {
|
|
42
44
|
var _this$config$commands;
|