@lipemat/js-boilerplate 7.0.0-beta.1 → 7.0.0-beta.2

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.
@@ -74,14 +74,14 @@ module.exports = {
74
74
  module: {
75
75
  rules: [
76
76
  {
77
- test: /\.(j|t)sx?$/,
77
+ test: /\.[jt]sx?$/,
78
78
  loader: 'babel-loader',
79
79
  include: path.resolve( config.workingDirectory, 'src' ),
80
80
  exclude: /node_modules/,
81
81
  options: babelOptions,
82
82
  },
83
83
  {
84
- test: /\.(j|t)sx?$/,
84
+ test: /\.[jt]sx?$/,
85
85
  include: /node_modules/,
86
86
  use: [ 'react-hot-loader/webpack' ],
87
87
  },
@@ -93,8 +93,10 @@ module.exports = {
93
93
  loader: 'css-loader',
94
94
  options: {
95
95
  importLoaders: 1,
96
- modules: true,
97
- localIdentName: 'Ⓜ[name]__[local]__[contenthash:base64:2]',
96
+ modules: {
97
+ exportLocalsConvention: 'camelCase',
98
+ localIdentName: 'Ⓜ[name]__[local]__[contenthash:base64:2]',
99
+ },
98
100
  sourceMap: true,
99
101
  url: false,
100
102
  },
@@ -87,7 +87,7 @@ module.exports = {
87
87
  module: {
88
88
  rules: [
89
89
  {
90
- test: /\.(j|t)sx?$/,
90
+ test: /\.[jt]sx?$/,
91
91
  loader: 'babel-loader',
92
92
  exclude: moduleHelpers.getBabelExcludeRegex(),
93
93
  options: babelOptions,
@@ -100,8 +100,10 @@ module.exports = {
100
100
  loader: 'css-loader',
101
101
  options: {
102
102
  importLoaders: 1,
103
- modules: true,
104
- localIdentName: '[contenthash:base64:5]',
103
+ modules: {
104
+ exportLocalsConvention: 'camelCase',
105
+ localIdentName: '[contenthash:base64:5]',
106
+ },
105
107
  url: false,
106
108
  },
107
109
  },
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@lipemat/js-boilerplate",
3
- "version": "7.0.0-beta.1",
3
+ "version": "7.0.0-beta.2",
4
4
  "description": "Dependencies and scripts for a no config JavaScript app",
5
5
  "engines": {
6
- "node": ">=14.15.3"
6
+ "node": ">=14.17.6"
7
7
  },
8
8
  "repository": {
9
9
  "type": "git",
@@ -45,7 +45,6 @@
45
45
  "babel-jest": "^24.7.1",
46
46
  "babel-loader": "^8.2.2",
47
47
  "browserslist": "^4.17.0",
48
- "classnames": "^2.2.6",
49
48
  "core-js": "^3.8.3",
50
49
  "cross-spawn": "^6.0.5",
51
50
  "css-loader": "6.2.0",