@elliemae/pui-cli 8.36.2 → 8.38.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.
@@ -64,6 +64,7 @@ const jestConfig = {
64
64
  '.*\\.(jpg|jpeg|png|gif|eot|otf|webp|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga|ico)$':
65
65
  getMockFilePath('image.js'),
66
66
  '.*\\.svg(?:\\?[a-zA-Z]+)?$': getMockFilePath('svg.js'),
67
+ '.*iframe\\.html(?:\\?[a-zA-Z]+)?$': getMockFilePath('iframe.js'),
67
68
  '.*\\.html(?:\\?[a-zA-Z]+)?$': getMockFilePath('html.js'),
68
69
  '@elliemae/pui-user-monitoring': getMockFilePath('pui-user-monitoring.js'),
69
70
  '@elliemae/pui-app-loader': getMockFilePath('pui-app-loader.js'),
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var iframe_exports = {};
20
+ __export(iframe_exports, {
21
+ default: () => iframe_default
22
+ });
23
+ module.exports = __toCommonJS(iframe_exports);
24
+ var iframe_default = "./iframe.html";
@@ -76,7 +76,8 @@ const getProdConfig = ({ latestVersion = true } = {}) => {
76
76
  },
77
77
  vendors: {
78
78
  name: "vendors",
79
- test: /[\\/]node_modules[\\/]/
79
+ test: /[\\/]node_modules[\\/]/,
80
+ enforce: true
80
81
  }
81
82
  }
82
83
  }
@@ -42,7 +42,7 @@ const IS_APP = (0, import_utils.isApp)();
42
42
  const CWD = process.cwd();
43
43
  const getAdditionalPlugins = () => [
44
44
  new import_webpack.default.EnvironmentPlugin({
45
- IS_APP,
45
+ IS_APP: IS_APP ? "true" : "false",
46
46
  CWD
47
47
  }),
48
48
  new import_mini_css_extract_plugin.default({
@@ -64,6 +64,7 @@ const jestConfig = {
64
64
  '.*\\.(jpg|jpeg|png|gif|eot|otf|webp|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga|ico)$':
65
65
  getMockFilePath('image.js'),
66
66
  '.*\\.svg(?:\\?[a-zA-Z]+)?$': getMockFilePath('svg.js'),
67
+ '.*iframe\\.html(?:\\?[a-zA-Z]+)?$': getMockFilePath('iframe.js'),
67
68
  '.*\\.html(?:\\?[a-zA-Z]+)?$': getMockFilePath('html.js'),
68
69
  '@elliemae/pui-user-monitoring': getMockFilePath('pui-user-monitoring.js'),
69
70
  '@elliemae/pui-app-loader': getMockFilePath('pui-app-loader.js'),
@@ -0,0 +1,4 @@
1
+ var iframe_default = "./iframe.html";
2
+ export {
3
+ iframe_default as default
4
+ };
@@ -48,7 +48,8 @@ const getProdConfig = ({ latestVersion = true } = {}) => {
48
48
  },
49
49
  vendors: {
50
50
  name: "vendors",
51
- test: /[\\/]node_modules[\\/]/
51
+ test: /[\\/]node_modules[\\/]/,
52
+ enforce: true
52
53
  }
53
54
  }
54
55
  }
@@ -8,7 +8,7 @@ const IS_APP = isApp();
8
8
  const CWD = process.cwd();
9
9
  const getAdditionalPlugins = () => [
10
10
  new webpack.EnvironmentPlugin({
11
- IS_APP,
11
+ IS_APP: IS_APP ? "true" : "false",
12
12
  CWD
13
13
  }),
14
14
  new MiniCssExtractPlugin({
@@ -11,6 +11,7 @@ export namespace jestConfig {
11
11
  '.*\\.(css|scss)$': string;
12
12
  '.*\\.(jpg|jpeg|png|gif|eot|otf|webp|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga|ico)$': string;
13
13
  '.*\\.svg(?:\\?[a-zA-Z]+)?$': string;
14
+ '.*iframe\\.html(?:\\?[a-zA-Z]+)?$': string;
14
15
  '.*\\.html(?:\\?[a-zA-Z]+)?$': string;
15
16
  '@elliemae/pui-user-monitoring': string;
16
17
  '@elliemae/pui-app-loader': string;
@@ -15,6 +15,7 @@ export const jestNodeConfig: {
15
15
  '.*\\.(css|scss)$': string;
16
16
  '.*\\.(jpg|jpeg|png|gif|eot|otf|webp|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga|ico)$': string;
17
17
  '.*\\.svg(?:\\?[a-zA-Z]+)?$': string;
18
+ '.*iframe\\.html(?:\\?[a-zA-Z]+)?$': string;
18
19
  '.*\\.html(?:\\?[a-zA-Z]+)?$': string;
19
20
  '@elliemae/pui-user-monitoring': string;
20
21
  '@elliemae/pui-app-loader': string;
@@ -0,0 +1,2 @@
1
+ declare const _default: "./iframe.html";
2
+ export default _default;