@dword-design/base 13.0.5 → 13.0.6

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.
@@ -7,9 +7,11 @@ export default function () {
7
7
  module: 'ESNext',
8
8
  moduleResolution: 'bundler',
9
9
  outDir: 'dist',
10
- paths: {
11
- '@/*': ['./*']
12
- },
10
+ ...(this.config.hasTypescriptConfigRootAlias && {
11
+ paths: {
12
+ '@/*': ['./*']
13
+ }
14
+ }),
13
15
  skipLibCheck: true,
14
16
  target: 'ESNext'
15
17
  },
package/dist/index.js CHANGED
@@ -154,6 +154,7 @@ class Base {
154
154
  cwd: this.cwd
155
155
  }),
156
156
  gitignore: [],
157
+ hasTypescriptConfigRootAlias: true,
157
158
  lint: identity,
158
159
  macos: true,
159
160
  minNodeVersion: null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dword-design/base",
3
- "version": "13.0.5",
3
+ "version": "13.0.6",
4
4
  "description": "Base package for projects.",
5
5
  "repository": "dword-design/base",
6
6
  "funding": "https://github.com/sponsors/dword-design",