@zohodesk/react-cli 1.1.22-exp.2 → 1.1.22-exp.4
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.
@@ -13,7 +13,8 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
13
13
|
|
14
14
|
const {
|
15
15
|
module: {
|
16
|
-
mode
|
16
|
+
mode,
|
17
|
+
alias
|
17
18
|
},
|
18
19
|
babelCustomizationForLibrary: {
|
19
20
|
babelPlugins
|
@@ -23,7 +24,10 @@ const {
|
|
23
24
|
const isProd = mode.toLowerCase() === 'prod';
|
24
25
|
const defaultPlugins = [[require.resolve('babel-plugin-transform-define'), isProd ? {
|
25
26
|
__DOCS__: false
|
26
|
-
} : {}], require.resolve('@babel/plugin-syntax-dynamic-import'), require.resolve('
|
27
|
+
} : {}], require.resolve('@babel/plugin-syntax-dynamic-import'), [require.resolve('babel-plugin-module-resolver'), {
|
28
|
+
"root": ["./"],
|
29
|
+
alias
|
30
|
+
}]];
|
27
31
|
const resolvedPlugins = [];
|
28
32
|
babelPlugins.forEach(plugin => {
|
29
33
|
resolvedPlugins.push(require.resolve(plugin));
|
@@ -14,7 +14,8 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
14
14
|
const {
|
15
15
|
module: {
|
16
16
|
mode,
|
17
|
-
disableES5Transpile
|
17
|
+
disableES5Transpile,
|
18
|
+
alias
|
18
19
|
},
|
19
20
|
babelCustomizationForLibrary: {
|
20
21
|
babelPlugins
|
@@ -24,7 +25,10 @@ const {
|
|
24
25
|
const isProd = mode.toLowerCase() === 'prod';
|
25
26
|
const defaultPlugins = [[require.resolve('babel-plugin-transform-define'), isProd ? {
|
26
27
|
__DOCS__: false
|
27
|
-
} : {}], require.resolve('@babel/plugin-syntax-dynamic-import'), require.resolve('
|
28
|
+
} : {}], require.resolve('@babel/plugin-syntax-dynamic-import'), [require.resolve('babel-plugin-module-resolver'), {
|
29
|
+
"root": ["./"],
|
30
|
+
alias
|
31
|
+
}]];
|
28
32
|
const resolvedPlugins = [];
|
29
33
|
babelPlugins.forEach(plugin => {
|
30
34
|
resolvedPlugins.push(require.resolve(plugin));
|
package/lib/schemas/index.js
CHANGED
@@ -125,7 +125,7 @@ var _default = {
|
|
125
125
|
cssDirStatement: null
|
126
126
|
},
|
127
127
|
app: {
|
128
|
-
alias:
|
128
|
+
alias: null,
|
129
129
|
moduleResolvePath: {
|
130
130
|
value: '@zohodesk/client_packages_group',
|
131
131
|
cli: 'module_resolve_path'
|
@@ -729,7 +729,8 @@ var _default = {
|
|
729
729
|
value: 'prod',
|
730
730
|
cli: 'module_mode'
|
731
731
|
},
|
732
|
-
disableES5Transpile: true
|
732
|
+
disableES5Transpile: true,
|
733
|
+
alias: null
|
733
734
|
},
|
734
735
|
stats: {
|
735
736
|
enable: {
|