Bump postcss from 7.0.35 to 7.0.36 (#8)
[ustaxviewer.git] / webpack.config.js
index 671030a3fde820fd8e6d26ae4ebd6f183f01e597..a5cb57f7a953e583f5531f949b0d688174a308b6 100644 (file)
@@ -1,3 +1,8 @@
+// Copyright 2020 Blue Static <https://www.bluestatic.org>
+// This program is free software licensed under the GNU General Public License,
+// version 3.0. The full text of the license can be found in LICENSE.txt.
+// SPDX-License-Identifier: GPL-3.0-only
+
 const path = require('path');
 const webpack = require('webpack');
 
@@ -36,8 +41,8 @@ module.exports = {
           {
             loader: 'css-loader',
             options: {
+              localsConvention: 'camelCaseOnly',
               modules: {
-                mode: 'local',
                 localIdentName: '[path][name]_[local]_[hash:base64:2]'
               }
             }
@@ -51,7 +56,7 @@ module.exports = {
     contentBase: 'public/'
   },
 
-  devtool: 'cheap-module-eval-source-map',
+  devtool: 'eval-cheap-module-source-map',
 
   plugins: [
     new (require('html-webpack-plugin'))({