Преглед изворни кода

build: fix webpack production config

jmacura пре 5 година
родитељ
комит
1b9f23943c
2 измењених фајлова са 5 додато и 5 уклоњено
  1. 3 3
      package-lock.json
  2. 2 2
      webpack.prod.js

+ 3 - 3
package-lock.json

@@ -6467,14 +6467,14 @@
         "angular-gettext": "2.4.x",
         "angular-lazy-image": "^0.3.4",
         "angular-loader": "1.8.x",
-        "angular-material": "^1.2.0",
+        "angular-material": "^1.1.21",
         "angular-messages": "^1.7.9",
         "angular-mocks": "^1.7.x",
         "angular-sanitize": "^1.7.9",
         "angular-timelinejs3": "~0.2.3",
         "angular-update-meta": "2.1.0",
         "angularjs-bootstrap-datetimepicker": "^1.1.4",
-        "bootstrap": "^4.5.2",
+        "bootstrap": ">=4.4.1",
         "cesium": "^1.71.0",
         "clipboard": "^2.0.4",
         "cors-anywhere": "^0.4.1",
@@ -6491,9 +6491,9 @@
         "moment-interval": "^0.2.1",
         "ng-focus-if": "^1.0.7",
         "ngclipboard": "^2.0.0",
-        "ol": "^6.4.3",
         "ngma": "^1.0.6",
         "ngx-cookie-service": "^10.0.1",
+        "ol": "^6.3.1",
         "ol-popup": "^4.0.0",
         "ol-popup-umd": "^1.3.1",
         "proj4": "^2.6.0",

+ 2 - 2
webpack.prod.js

@@ -116,12 +116,12 @@ module.exports = merge(common, {
       },
       // AngularJS templates are cached using cache template
       {
-        test: /\.html$/,
+        test: /\.html$/i,
         exclude: path.resolve(__dirname, './src/index.html'),
         use: [
           {
             loader: 'html-loader',
-            options: {minimize: true, caseSensitive: true},
+            options: {minimize: true},
           },
         ],
       },