@elliemae/pui-cli 8.45.1 → 8.47.0
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.
|
@@ -41,6 +41,7 @@ var import_moment_locales_webpack_plugin = __toESM(require("moment-locales-webpa
|
|
|
41
41
|
var import_webpack_manifest_plugin = require("webpack-manifest-plugin");
|
|
42
42
|
var import_favicons_webpack_plugin = __toESM(require("favicons-webpack-plugin"), 1);
|
|
43
43
|
var import_browserslist_to_esbuild = __toESM(require("browserslist-to-esbuild"), 1);
|
|
44
|
+
var import_dotenv_webpack = __toESM(require("dotenv-webpack"), 1);
|
|
44
45
|
var import_helpers = require("./helpers.js");
|
|
45
46
|
const minicssLoader = {
|
|
46
47
|
loader: import_mini_css_extract_plugin.default.loader,
|
|
@@ -54,6 +55,7 @@ const plugins = [
|
|
|
54
55
|
NODE_ENV: "development",
|
|
55
56
|
CI: "false"
|
|
56
57
|
}),
|
|
58
|
+
new import_dotenv_webpack.default(),
|
|
57
59
|
new import_webpack.default.ProvidePlugin({
|
|
58
60
|
React: "react"
|
|
59
61
|
}),
|
|
@@ -40,6 +40,7 @@ var import_postcss_preset_env = __toESM(require("postcss-preset-env"), 1);
|
|
|
40
40
|
var import_moment_locales_webpack_plugin = __toESM(require("moment-locales-webpack-plugin"), 1);
|
|
41
41
|
var import_resolve_typescript_plugin = __toESM(require("resolve-typescript-plugin"), 1);
|
|
42
42
|
var import_browserslist_to_esbuild = __toESM(require("browserslist-to-esbuild"), 1);
|
|
43
|
+
var import_dotenv_webpack = __toESM(require("dotenv-webpack"), 1);
|
|
43
44
|
var import_helpers = require("./helpers.js");
|
|
44
45
|
var import_utils = require("../utils.js");
|
|
45
46
|
const minicssLoader = {
|
|
@@ -63,6 +64,7 @@ const plugins = [
|
|
|
63
64
|
ASSET_PATH: "/",
|
|
64
65
|
CI: "false"
|
|
65
66
|
}),
|
|
67
|
+
new import_dotenv_webpack.default(),
|
|
66
68
|
new import_webpack.default.DefinePlugin({
|
|
67
69
|
APP_CONFIG: (0, import_utils.getAppConfig)()
|
|
68
70
|
}),
|
|
@@ -8,6 +8,7 @@ import MomentLocalesPlugin from "moment-locales-webpack-plugin";
|
|
|
8
8
|
import { WebpackManifestPlugin } from "webpack-manifest-plugin";
|
|
9
9
|
import FaviconsWebpackPlugin from "favicons-webpack-plugin";
|
|
10
10
|
import browserslistToEsbuild from "browserslist-to-esbuild";
|
|
11
|
+
import DotEnvWebpack from "dotenv-webpack";
|
|
11
12
|
import {
|
|
12
13
|
excludeNodeModulesExcept,
|
|
13
14
|
modulesToTranspile,
|
|
@@ -27,6 +28,7 @@ const plugins = [
|
|
|
27
28
|
NODE_ENV: "development",
|
|
28
29
|
CI: "false"
|
|
29
30
|
}),
|
|
31
|
+
new DotEnvWebpack(),
|
|
30
32
|
new webpack.ProvidePlugin({
|
|
31
33
|
React: "react"
|
|
32
34
|
}),
|
|
@@ -7,6 +7,7 @@ import PostcssPresetEnv from "postcss-preset-env";
|
|
|
7
7
|
import MomentLocalesPlugin from "moment-locales-webpack-plugin";
|
|
8
8
|
import ResolveTypeScriptPlugin from "resolve-typescript-plugin";
|
|
9
9
|
import browserslistToEsbuild from "browserslist-to-esbuild";
|
|
10
|
+
import DotEnvWebpack from "dotenv-webpack";
|
|
10
11
|
import {
|
|
11
12
|
excludeNodeModulesExcept,
|
|
12
13
|
getLibraryVariableName,
|
|
@@ -36,6 +37,7 @@ const plugins = [
|
|
|
36
37
|
ASSET_PATH: "/",
|
|
37
38
|
CI: "false"
|
|
38
39
|
}),
|
|
40
|
+
new DotEnvWebpack(),
|
|
39
41
|
new webpack.DefinePlugin({
|
|
40
42
|
APP_CONFIG: getAppConfig()
|
|
41
43
|
}),
|