@modern-js/app-tools 1.6.8 → 1.6.9
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/CHANGELOG.md
CHANGED
|
@@ -16,7 +16,7 @@ export const buildServerConfig = async ({
|
|
|
16
16
|
}) => {
|
|
17
17
|
const configFilePath = await getServerConfig(appDirectory, configFile);
|
|
18
18
|
|
|
19
|
-
const getOutputFile = filepath => path.resolve(distDirectory, `${filepath.replace(new RegExp(CONFIG_FILE_EXTENSIONS.join('|')), '')}.js`);
|
|
19
|
+
const getOutputFile = async filepath => path.resolve(distDirectory, `${filepath.replace(new RegExp(CONFIG_FILE_EXTENSIONS.join('|')), '')}.js`);
|
|
20
20
|
|
|
21
21
|
if (configFilePath) {
|
|
22
22
|
const configHelperFilePath = path.normalize(path.join(distDirectory, './config-helper.js'));
|
|
@@ -33,7 +33,7 @@ const buildServerConfig = async ({
|
|
|
33
33
|
}) => {
|
|
34
34
|
const configFilePath = await (0, _utils.getServerConfig)(appDirectory, configFile);
|
|
35
35
|
|
|
36
|
-
const getOutputFile = filepath => path.resolve(distDirectory, `${filepath.replace(new RegExp(_utils.CONFIG_FILE_EXTENSIONS.join('|')), '')}.js`);
|
|
36
|
+
const getOutputFile = async filepath => path.resolve(distDirectory, `${filepath.replace(new RegExp(_utils.CONFIG_FILE_EXTENSIONS.join('|')), '')}.js`);
|
|
37
37
|
|
|
38
38
|
if (configFilePath) {
|
|
39
39
|
const configHelperFilePath = path.normalize(path.join(distDirectory, './config-helper.js'));
|