@elliemae/pui-cli 6.0.0-beta.22 → 6.0.0-beta.23
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.
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
const webpack = require('webpack');
|
|
2
2
|
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
|
|
3
3
|
const CopyWebpackPlugin = require('copy-webpack-plugin');
|
|
4
|
+
const ResolveTypeScriptPlugin = require('resolve-typescript-plugin').default;
|
|
4
5
|
const {
|
|
5
6
|
getAppConfig,
|
|
6
7
|
isApp,
|
|
@@ -45,7 +46,7 @@ const getAdditionalPlugins = () => [
|
|
|
45
46
|
|
|
46
47
|
const getModuleRules = () => [
|
|
47
48
|
{
|
|
48
|
-
test: /\.
|
|
49
|
+
test: /\.[jt]sx?$/,
|
|
49
50
|
enforce: 'pre',
|
|
50
51
|
exclude: /node_modules/,
|
|
51
52
|
resolve: {
|
|
@@ -87,6 +88,10 @@ exports.webpackFinal = async (config, { configType }) => {
|
|
|
87
88
|
config.resolve.alias = { ...config.resolve.alias, ...getAlias() };
|
|
88
89
|
config.resolve.fallback = { ...config.resolve.fallback, crypto: false };
|
|
89
90
|
config.resolve.extensions.push('.svg');
|
|
91
|
+
config.resolve.plugins = [
|
|
92
|
+
...(config.resolve.plugins || []),
|
|
93
|
+
new ResolveTypeScriptPlugin(),
|
|
94
|
+
];
|
|
90
95
|
config.externals = config.externals || {};
|
|
91
96
|
config.externals['@elliemae/pui-user-monitoring'] = 'emuiUserMonitoring';
|
|
92
97
|
config.externals['@elliemae/pui-app-loader'] = 'emuiAppLoader';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/pui-cli",
|
|
3
|
-
"version": "6.0.0-beta.
|
|
3
|
+
"version": "6.0.0-beta.23",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "ICE MT UI Platform CLI",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"@storybook/react": "~6.4.7",
|
|
82
82
|
"@storybook/theming": "~6.4.7",
|
|
83
83
|
"@stylelint/postcss-css-in-js": "~0.37.2",
|
|
84
|
-
"@svgr/webpack": "~6.1.
|
|
84
|
+
"@svgr/webpack": "~6.1.1",
|
|
85
85
|
"@testing-library/jest-dom": "~5.16.0",
|
|
86
86
|
"@testing-library/react": "~12.1.2",
|
|
87
87
|
"@testing-library/react-hooks": "~7.0.2",
|
|
@@ -205,6 +205,7 @@
|
|
|
205
205
|
"react-refresh": "~0.11.0",
|
|
206
206
|
"react-test-renderer": "~17.0.2",
|
|
207
207
|
"resize-observer-polyfill": "~1.5.1",
|
|
208
|
+
"resolve-typescript-plugin": "~1.1.1",
|
|
208
209
|
"rimraf": "~3.0.2",
|
|
209
210
|
"script-loader": "~0.7.2",
|
|
210
211
|
"semantic-release": "~18.0.1",
|