@reactunity/scripts 0.18.1 → 0.18.3
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/config/webpack.config.js
CHANGED
|
@@ -527,6 +527,8 @@ const baseConfigFactory = function (webpackEnv) {
|
|
|
527
527
|
: isEnvDevelopment,
|
|
528
528
|
modules: {
|
|
529
529
|
mode: 'local',
|
|
530
|
+
namedExport: false,
|
|
531
|
+
exportLocalsConvention: 'as-is',
|
|
530
532
|
getLocalIdent: getCSSModuleLocalIdent,
|
|
531
533
|
},
|
|
532
534
|
}),
|
|
@@ -567,6 +569,8 @@ const baseConfigFactory = function (webpackEnv) {
|
|
|
567
569
|
: isEnvDevelopment,
|
|
568
570
|
modules: {
|
|
569
571
|
mode: 'local',
|
|
572
|
+
namedExport: false,
|
|
573
|
+
exportLocalsConvention: 'as-is',
|
|
570
574
|
getLocalIdent: getCSSModuleLocalIdent,
|
|
571
575
|
},
|
|
572
576
|
},
|
|
@@ -122,7 +122,11 @@ module.exports = function (proxy, allowedHost) {
|
|
|
122
122
|
publicPath: paths.publicUrlOrPath.slice(0, -1),
|
|
123
123
|
},
|
|
124
124
|
|
|
125
|
-
|
|
125
|
+
server: {
|
|
126
|
+
options: {
|
|
127
|
+
https: getHttpsConfig(),
|
|
128
|
+
},
|
|
129
|
+
},
|
|
126
130
|
host,
|
|
127
131
|
historyApiFallback: {
|
|
128
132
|
// Paths with dots should still use the history fallback.
|