@elliemae/pui-cli 6.0.0-beta.48 → 6.0.0-beta.49
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.
|
@@ -124,24 +124,7 @@ module.exports = (options) => ({
|
|
|
124
124
|
module: {
|
|
125
125
|
rules: [
|
|
126
126
|
{
|
|
127
|
-
test: /\.
|
|
128
|
-
enforce: 'pre',
|
|
129
|
-
exclude: /node_modules/,
|
|
130
|
-
resolve: {
|
|
131
|
-
fullySpecified: false,
|
|
132
|
-
},
|
|
133
|
-
use: [
|
|
134
|
-
{
|
|
135
|
-
loader: 'webpack-strip-block',
|
|
136
|
-
options: {
|
|
137
|
-
start: 'TEST:START',
|
|
138
|
-
end: 'TEST:END',
|
|
139
|
-
},
|
|
140
|
-
},
|
|
141
|
-
],
|
|
142
|
-
},
|
|
143
|
-
{
|
|
144
|
-
test: /\.[j]sx?$/,
|
|
127
|
+
test: /\.jsx?$/,
|
|
145
128
|
exclude: excludeNodeModulesExcept(modulesToTranspile),
|
|
146
129
|
resolve: {
|
|
147
130
|
fullySpecified: false,
|
|
@@ -155,7 +138,7 @@ module.exports = (options) => ({
|
|
|
155
138
|
},
|
|
156
139
|
},
|
|
157
140
|
{
|
|
158
|
-
test: /\.
|
|
141
|
+
test: /\.tsx?$/,
|
|
159
142
|
exclude: excludeNodeModulesExcept(modulesToTranspile),
|
|
160
143
|
resolve: {
|
|
161
144
|
fullySpecified: false,
|
|
@@ -72,23 +72,6 @@ module.exports = (options) => ({
|
|
|
72
72
|
optimization: options.optimization,
|
|
73
73
|
module: {
|
|
74
74
|
rules: [
|
|
75
|
-
{
|
|
76
|
-
test: /^(?!.*\.exec\.js$).*\.[jt]sx?$/,
|
|
77
|
-
enforce: 'pre',
|
|
78
|
-
exclude: /node_modules/,
|
|
79
|
-
resolve: {
|
|
80
|
-
fullySpecified: false,
|
|
81
|
-
},
|
|
82
|
-
use: [
|
|
83
|
-
{
|
|
84
|
-
loader: 'webpack-strip-block',
|
|
85
|
-
options: {
|
|
86
|
-
start: 'TEST:START',
|
|
87
|
-
end: 'TEST:END',
|
|
88
|
-
},
|
|
89
|
-
},
|
|
90
|
-
],
|
|
91
|
-
},
|
|
92
75
|
{
|
|
93
76
|
test: /^(?!.*\.exec\.js$).*\.jsx?$/, // Transform all .js and .jsx files with Babel
|
|
94
77
|
exclude: excludeNodeModulesExcept(modulesToTranspile),
|
|
@@ -45,23 +45,6 @@ const getAdditionalPlugins = () => [
|
|
|
45
45
|
];
|
|
46
46
|
|
|
47
47
|
const getModuleRules = () => [
|
|
48
|
-
{
|
|
49
|
-
test: /\.[jt]sx?$/,
|
|
50
|
-
enforce: 'pre',
|
|
51
|
-
exclude: /node_modules/,
|
|
52
|
-
resolve: {
|
|
53
|
-
fullySpecified: false,
|
|
54
|
-
},
|
|
55
|
-
use: [
|
|
56
|
-
{
|
|
57
|
-
loader: 'webpack-strip-block',
|
|
58
|
-
options: {
|
|
59
|
-
start: 'TEST:START',
|
|
60
|
-
end: 'TEST:END',
|
|
61
|
-
},
|
|
62
|
-
},
|
|
63
|
-
],
|
|
64
|
-
},
|
|
65
48
|
{
|
|
66
49
|
type: 'asset',
|
|
67
50
|
resourceQuery: /url/,
|