generator-reackt 0.3.3 → 0.6.0

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.
@@ -1,185 +1,46 @@
1
- const path = require('path');
2
-
3
- module.exports = {
4
- "env": {
5
- "browser": true,
6
- "es2020": true,
7
- <% if (flags.addJest) { %>
8
- "jest": true,
9
- <% } %>
10
- "node": true
11
- },
12
- "extends": [
13
- "eslint:recommended",
14
- "plugin:react/recommended",
15
- "plugin:prettier/recommended",
16
- "plugin:jsx-a11y/recommended",
17
- "plugin:import/recommended",
18
- "plugin:react-hooks/recommended",
19
- <% if (flags.addJest) { %>
20
- "plugin:jest/recommended"
21
- <% } %>
22
- ],
23
- "parser": "@babel/eslint-parser",
24
- "parserOptions": {
25
- "requireConfigFile": false,
26
- "ecmaFeatures": {
27
- "jsx": true
28
- },
29
- "ecmaVersion": 12
30
- },
31
- "rules": {
32
- "accessor-pairs": 2,
33
- "block-scoped-var": 2,
34
- "callback-return": 0,
35
- "camelcase": 2,
36
- "complexity": 0,
37
- "consistent-return": 0,
38
- "consistent-this": [2, "self"],
39
- "constructor-super": 2,
40
- "curly": 2,
41
- "default-case": 2,
42
- "dot-notation": 2,
43
- "eol-last": 0,
44
- "eqeqeq": 2,
45
- "func-names": [2, "never"],
46
- "func-style": [2, "declaration", { "allowArrowFunctions": true }],
47
- "guard-for-in": 2,
48
- "handle-callback-err": 0,
49
- "id-length": 0,
50
- "id-match": 0,
51
- "indent": [0, 4],
52
- "init-declarations": 0,
53
- "linebreak-style": 0,
54
- "lines-around-comment": 0,
55
- "max-depth": 0,
56
- "max-len": 0,
57
- "max-nested-callbacks": 0,
58
- "max-params": 0,
59
- "max-statements": 0,
60
- "new-cap": [2, { "properties": false }],
61
- "newline-after-var": 1,
62
- "no-alert": 2,
63
- "no-array-constructor": 2,
64
- "no-bitwise": 2,
65
- "no-caller": 2,
66
- "no-catch-shadow": 0,
67
- "no-class-assign": 2,
68
- "no-cond-assign": 2,
69
- "no-const-assign": 2,
70
- "no-constant-condition": 2,
71
- "no-continue": 2,
72
- "no-control-regex": 2,
73
- "no-delete-var": 2,
74
- "no-div-regex": 2,
75
- "no-dupe-args": 2,
76
- "no-dupe-keys": 2,
77
- "no-duplicate-case": 2,
78
- "no-else-return": 0,
79
- "no-empty-character-class": 2,
80
- "no-empty": 2,
81
- "no-eq-null": 2,
82
- "no-eval": 2,
83
- "no-ex-assign": 2,
84
- "no-extend-native": 2,
85
- "no-extra-bind": 2,
86
- "no-extra-boolean-cast": 2,
87
- "no-extra-parens": 0,
88
- "no-fallthrough": 2,
89
- "no-floating-decimal": 2,
90
- "no-func-assign": 2,
91
- "no-implicit-coercion": 2,
92
- "no-implied-eval": 2,
93
- "no-inline-comments": 0,
94
- "no-inner-declarations": 2,
95
- "no-invalid-regexp": 2,
96
- "no-invalid-this": 2,
97
- "no-irregular-whitespace": 1,
98
- "no-iterator": 2,
99
- "no-label-var": 2,
100
- "no-labels": 2,
101
- "no-lone-blocks": 2,
102
- "no-lonely-if": 2,
103
- "no-loop-func": 2,
104
- "no-mixed-requires": 2,
105
- "no-multi-str": 2,
106
- "no-native-reassign": 2,
107
- "no-negated-in-lhs": 2,
108
- "no-nested-ternary": 2,
109
- "no-new-func": 2,
110
- "no-new-object": 2,
111
- "no-new-require": 2,
112
- "no-new-wrappers": 2,
113
- "no-new": 2,
114
- "no-obj-calls": 2,
115
- "no-octal-escape": 2,
116
- "no-octal": 2,
117
- "no-param-reassign": 0,
118
- "no-path-concat": 2,
119
- "no-plusplus": 0,
120
- "no-process-env": 0,
121
- "no-process-exit": 2,
122
- "no-proto": 2,
123
- "no-redeclare": 2,
124
- "no-regex-spaces": 2,
125
- "no-restricted-modules": 2,
126
- "no-return-assign": 2,
127
- "no-script-url": 2,
128
- "no-self-compare": 2,
129
- "no-sequences": 2,
130
- "no-shadow-restricted-names": 0,
131
- "no-shadow": 2,
132
- "no-sparse-arrays": 2,
133
- "no-sync": 2,
134
- "no-ternary": 0,
135
- "no-this-before-super": 2,
136
- "no-throw-literal": 2,
137
- "no-undef-init": 2,
138
- "no-undef": 2,
139
- "no-undefined": 0,
140
- "no-underscore-dangle": 2,
141
- "no-unexpected-multiline": 2,
142
- "no-unneeded-ternary": 0,
143
- "no-unreachable": 2,
144
- "no-unused-expressions": 2,
145
- "no-unused-vars": 2,
146
- "no-use-before-define": 2,
147
- "no-useless-call": 2,
148
- "no-var": 0,
149
- "no-void": 0,
150
- "no-warning-comments": 1,
151
- "no-with": 2,
152
- "object-shorthand": 0,
153
- "one-var": 0,
154
- "operator-assignment": 2,
155
- "prefer-const": 2,
156
- "prefer-spread": 0,
157
- "radix": 2,
158
- "require-yield": 2,
159
- "sort-vars": 0,
160
- "space-return-throw-case": 0,
161
- "spaced-comment": 1,
162
- "strict": [2, "function"],
163
- "use-isnan": 2,
164
- "valid-jsdoc": 0,
165
- "valid-typeof": 2,
166
- "vars-on-top": 2,
167
- "yoda": 2,
168
- "no-console": 2,
169
- "no-debugger": 2,
170
- "prettier/prettier": 2,
171
- "jsx-a11y/label-has-for": 0,
172
- "react/jsx-uses-react": 0,
173
- "react/react-in-jsx-scope": 0
174
- },
175
- "settings": {
176
- "react": {
177
- "version": "detect"
178
- },
179
- "import/resolver": {
180
- "webpack": {
181
- "config": path.join(__dirname, 'webpack.config.babel.js')
182
- }
183
- }
184
- }
185
- };
1
+ const path = require('path');
2
+
3
+ module.exports = {
4
+ "env": {
5
+ "browser": true,
6
+ "es2020": true,
7
+ <% if (flags.addJest) { %>
8
+ "jest": true,
9
+ <% } %>
10
+ "node": true
11
+ },
12
+ "extends": [
13
+ "eslint:recommended",
14
+ "plugin:react/recommended",
15
+ "plugin:prettier/recommended",
16
+ "plugin:jsx-a11y/recommended",
17
+ "plugin:import/recommended",
18
+ "plugin:react-hooks/recommended",
19
+ <% if (flags.addJest) { %>
20
+ "plugin:jest/recommended"
21
+ <% } %>
22
+ ],
23
+ "parser": "@babel/eslint-parser",
24
+ "parserOptions": {
25
+ "requireConfigFile": false,
26
+ "ecmaFeatures": {
27
+ "jsx": true
28
+ },
29
+ "ecmaVersion": 12
30
+ },
31
+ "rules": {
32
+ "jsx-a11y/label-has-for": 0,
33
+ "react/jsx-uses-react": 0,
34
+ "react/react-in-jsx-scope": 0
35
+ },
36
+ "settings": {
37
+ "react": {
38
+ "version": "detect"
39
+ },
40
+ "import/resolver": {
41
+ "webpack": {
42
+ "config": path.join(__dirname, 'webpack.config.babel.js')
43
+ }
44
+ }
45
+ }
46
+ };
@@ -1,20 +1,25 @@
1
1
  {
2
- "extends": "stylelint-config-recommended",
3
2
  "defaultSeverity": "warning",
4
- "plugins": ["stylelint-a11y"],
3
+ "extends": "stylelint-config-recommended",
4
+ "customSyntax": "postcss-scss",
5
5
  "rules": {
6
+ "at-rule-allowed-list": null,
6
7
  "at-rule-disallowed-list": null,
7
8
  "at-rule-empty-line-before": [
8
9
  "always",
9
10
  {
10
- "except": [ "blockless-after-blockless", "first-nested" ],
11
- "ignore": [ "after-comment" ],
12
- "ignoreAtRules": [ "else" ]
11
+ "except": [
12
+ "blockless-after-blockless",
13
+ "first-nested"
14
+ ],
15
+ "ignore": [
16
+ "after-comment"
17
+ ],
18
+ "ignoreAtRules": [
19
+ "else"
20
+ ]
13
21
  }
14
22
  ],
15
- "at-rule-name-case": "lower",
16
- "at-rule-name-newline-after": "always-multi-line",
17
- "at-rule-name-space-after": "always-single-line",
18
23
  "at-rule-no-unknown": [
19
24
  true,
20
25
  {
@@ -34,190 +39,134 @@
34
39
  }
35
40
  ],
36
41
  "at-rule-no-vendor-prefix": true,
37
- "at-rule-semicolon-newline-after": "always",
38
- "at-rule-semicolon-space-before": "never",
39
- "at-rule-allowed-list": null,
40
- "block-closing-brace-empty-line-before": "never",
41
- "block-closing-brace-newline-after": [
42
- "always",
43
- {
44
- "ignoreAtRules": [ "else", "if" ]
45
- }
46
- ],
47
- "block-closing-brace-newline-before": "always-multi-line",
48
- "block-closing-brace-space-after": "always-single-line",
49
- "block-closing-brace-space-before": "always-single-line",
50
42
  "block-no-empty": true,
51
- "block-opening-brace-newline-after": "always",
52
- "block-opening-brace-newline-before": "never-single-line",
53
- "block-opening-brace-space-after": "always-single-line",
54
- "block-opening-brace-space-before": "always",
55
- "color-hex-case": "lower",
56
43
  "color-hex-length": "short",
57
44
  "color-named": [
58
45
  "never",
59
- { "severity": "error" }
46
+ {
47
+ "severity": "error"
48
+ }
60
49
  ],
61
50
  "color-no-hex": null,
62
51
  "color-no-invalid-hex": true,
63
52
  "comment-empty-line-before": [
64
53
  "always",
65
54
  {
66
- "ignore": [ "after-comment", "stylelint-commands" ]
55
+ "ignore": [
56
+ "after-comment",
57
+ "stylelint-commands"
58
+ ]
67
59
  }
68
60
  ],
69
61
  "comment-no-empty": true,
70
62
  "comment-whitespace-inside": "always",
71
- "comment-word-disallowed-list": [ "/^TODO:/" ],
63
+ "comment-word-disallowed-list": [
64
+ "/^TODO:/"
65
+ ],
72
66
  "custom-media-pattern": null,
73
67
  "custom-property-empty-line-before": null,
74
68
  "custom-property-pattern": null,
75
- "declaration-bang-space-after": "never",
76
- "declaration-bang-space-before": "always",
77
69
  "declaration-block-no-duplicate-properties": true,
78
70
  "declaration-block-no-redundant-longhand-properties": true,
79
71
  "declaration-block-no-shorthand-property-overrides": true,
80
- "declaration-block-semicolon-newline-after": "always",
81
- "declaration-block-semicolon-newline-before": null,
82
- "declaration-block-semicolon-space-after": "always-single-line",
83
- "declaration-block-semicolon-space-before": "never",
84
72
  "declaration-block-single-line-max-declarations": 1,
85
- "declaration-block-trailing-semicolon": "always",
86
- "declaration-colon-newline-after": null,
87
- "declaration-colon-space-after": "always",
88
- "declaration-colon-space-before": "never",
89
- "declaration-empty-line-before": "never",
90
73
  "declaration-no-important": true,
91
- "declaration-property-unit-disallowed-list": {},
92
74
  "declaration-property-unit-allowed-list": {
93
- "border": [ "px" ],
75
+ "border": [
76
+ "px"
77
+ ],
94
78
  "line-height": [],
95
- "outline-offset": [ "px" ]
79
+ "outline-offset": [
80
+ "px"
81
+ ]
96
82
  },
97
- "declaration-property-value-disallowed-list": {},
83
+ "declaration-property-unit-disallowed-list": {},
98
84
  "declaration-property-value-allowed-list": {},
85
+ "declaration-property-value-disallowed-list": {},
99
86
  "font-family-name-quotes": "always-unless-keyword",
100
87
  "font-family-no-duplicate-names": true,
101
88
  "font-family-no-missing-generic-family-keyword": true,
102
89
  "font-weight-notation": "numeric",
103
- "function-disallowed-list": null,
90
+ "function-allowed-list": null,
104
91
  "function-calc-no-unspaced-operator": true,
105
- "function-comma-newline-after": null,
106
- "function-comma-newline-before": null,
107
- "function-comma-space-after": "always",
108
- "function-comma-space-before": null,
92
+ "function-disallowed-list": null,
109
93
  "function-linear-gradient-no-nonstandard-direction": true,
110
- "function-max-empty-lines": 0,
111
- "function-name-case": "lower",
112
- "function-parentheses-newline-inside": null,
113
- "function-parentheses-space-inside": "never",
114
94
  "function-url-no-scheme-relative": true,
115
95
  "function-url-quotes": "always",
116
- "function-url-scheme-disallowed-list": null,
117
96
  "function-url-scheme-allowed-list": null,
118
- "function-allowed-list": null,
119
- "function-whitespace-after": "always",
120
- "indentation": 2,
97
+ "function-url-scheme-disallowed-list": null,
121
98
  "keyframe-declaration-no-important": true,
122
99
  "length-zero-no-unit": true,
123
- "max-empty-lines": 2,
124
- "max-line-length": 100,
125
100
  "max-nesting-depth": 4,
126
- "media-feature-colon-space-after": "always",
127
- "media-feature-colon-space-before": "never",
101
+ "media-feature-name-allowed-list": null,
128
102
  "media-feature-name-disallowed-list": null,
129
- "media-feature-name-case": "lower",
130
103
  "media-feature-name-no-unknown": true,
131
104
  "media-feature-name-no-vendor-prefix": true,
132
- "media-feature-name-allowed-list": null,
133
- "media-feature-parentheses-space-inside": "never",
134
- "media-feature-range-operator-space-after": "always",
135
- "media-feature-range-operator-space-before": "always",
136
- "media-query-list-comma-newline-after": null,
137
- "media-query-list-comma-newline-before": null,
138
- "media-query-list-comma-space-after": null,
139
- "media-query-list-comma-space-before": null,
140
105
  "no-descending-specificity": true,
141
106
  "no-duplicate-at-import-rules": true,
142
107
  "no-duplicate-selectors": true,
143
108
  "no-empty-source": true,
144
- "no-eol-whitespace": true,
145
- "no-extra-semicolons": true,
146
109
  "no-invalid-double-slash-comments": true,
147
- "no-missing-end-of-source-newline": true,
148
110
  "no-unknown-animations": true,
149
- "number-leading-zero": "always",
150
111
  "number-max-precision": [
151
112
  2,
152
113
  {
153
- "ignoreUnits": [ "em", "rem" ]
114
+ "ignoreUnits": [
115
+ "em",
116
+ "rem"
117
+ ]
154
118
  }
155
119
  ],
156
- "number-no-trailing-zeros": true,
120
+ "property-allowed-list": null,
157
121
  "property-disallowed-list": null,
158
- "property-case": "lower",
159
122
  "property-no-unknown": true,
160
123
  "property-no-vendor-prefix": true,
161
- "property-allowed-list": null,
162
124
  "rule-empty-line-before": [
163
125
  "always",
164
126
  {
165
- "except": [ "first-nested" ],
166
- "ignore": [ "after-comment" ]
127
+ "except": [
128
+ "first-nested"
129
+ ],
130
+ "ignore": [
131
+ "after-comment"
132
+ ]
167
133
  }
168
134
  ],
169
- "selector-attribute-brackets-space-inside": "never",
170
- "selector-attribute-operator-disallowed-list": null,
171
- "selector-attribute-operator-space-after": "never",
172
- "selector-attribute-operator-space-before": "never",
173
135
  "selector-attribute-operator-allowed-list": null,
136
+ "selector-attribute-operator-disallowed-list": null,
174
137
  "selector-attribute-quotes": "always",
175
138
  "selector-class-pattern": "[a-z]+",
176
- "selector-combinator-disallowed-list": null,
177
- "selector-combinator-space-after": "always",
178
- "selector-combinator-space-before": "always",
179
139
  "selector-combinator-allowed-list": null,
180
- "selector-descendant-combinator-no-non-space": true,
140
+ "selector-combinator-disallowed-list": null,
181
141
  "selector-id-pattern": null,
182
- "selector-list-comma-newline-after": "always",
183
- "selector-list-comma-newline-before": "never-multi-line",
184
- "selector-list-comma-space-after": "always-single-line",
185
- "selector-list-comma-space-before": null,
186
142
  "selector-max-attribute": 1,
187
143
  "selector-max-class": 3,
188
144
  "selector-max-combinators": 2,
189
145
  "selector-max-compound-selectors": 3,
190
- "selector-max-empty-lines": 0,
191
146
  "selector-max-id": 1,
192
147
  "selector-max-pseudo-class": 2,
193
148
  "selector-max-specificity": [
194
149
  "0,5,1",
195
- { "severity": "error" }
150
+ {
151
+ "severity": "error"
152
+ }
196
153
  ],
197
154
  "selector-max-type": 2,
198
155
  "selector-max-universal": 1,
199
156
  "selector-nested-pattern": null,
200
157
  "selector-no-qualifying-type": true,
201
158
  "selector-no-vendor-prefix": true,
159
+ "selector-pseudo-class-allowed-list": null,
202
160
  "selector-pseudo-class-disallowed-list": null,
203
- "selector-pseudo-class-case": "lower",
204
161
  "selector-pseudo-class-no-unknown": true,
205
- "selector-pseudo-class-parentheses-space-inside": "never",
206
- "selector-pseudo-class-allowed-list": null,
207
- "selector-pseudo-element-disallowed-list": null,
208
- "selector-pseudo-element-case": "lower",
162
+ "selector-pseudo-element-allowed-list": null,
209
163
  "selector-pseudo-element-colon-notation": "double",
164
+ "selector-pseudo-element-disallowed-list": null,
210
165
  "selector-pseudo-element-no-unknown": true,
211
- "selector-pseudo-element-allowed-list": null,
212
- "selector-type-case": "lower",
213
166
  "selector-type-no-unknown": true,
214
167
  "shorthand-property-no-redundant-values": true,
215
168
  "string-no-newline": true,
216
- "string-quotes": "double",
217
169
  "time-min-milliseconds": 100,
218
- "unit-disallowed-list": null,
219
- "unit-case": "lower",
220
- "unit-no-unknown": true,
221
170
  "unit-allowed-list": [
222
171
  "%",
223
172
  "deg",
@@ -231,47 +180,9 @@
231
180
  "vmin",
232
181
  "vw"
233
182
  ],
183
+ "unit-disallowed-list": null,
184
+ "unit-no-unknown": true,
234
185
  "value-keyword-case": "lower",
235
- "value-list-comma-newline-after": "always-multi-line",
236
- "value-list-comma-newline-before": null,
237
- "value-list-comma-space-after": null,
238
- "value-list-comma-space-before": "never",
239
- "value-list-max-empty-lines": 0,
240
- "value-no-vendor-prefix": true,
241
- "a11y/media-prefers-reduced-motion": true,
242
- "a11y/no-outline-none": true,
243
- "a11y/selector-pseudo-class-focus": true,
244
- "a11y/content-property-no-static-value": [
245
- true,
246
- { "severity": "warning" }
247
- ],
248
- "a11y/font-size-is-readable": [
249
- true,
250
- { "severity": "warning" }
251
- ],
252
- "a11y/line-height-is-vertical-rhythmed": [
253
- true,
254
- { "severity": "warning" }
255
- ],
256
- "a11y/no-display-none": [
257
- true,
258
- { "severity": "warning" }
259
- ],
260
- "a11y/no-spread-text": [
261
- true,
262
- { "severity": "warning" }
263
- ],
264
- "a11y/no-obsolete-attribute": [
265
- true,
266
- { "severity": "warning" }
267
- ],
268
- "a11y/no-obsolete-element": [
269
- true,
270
- { "severity": "warning" }
271
- ],
272
- "a11y/no-text-align-justify": [
273
- true,
274
- { "severity": "warning" }
275
- ]
186
+ "value-no-vendor-prefix": true
276
187
  }
277
188
  }
@@ -1,7 +1,6 @@
1
1
  {
2
2
  "compilerOptions": {
3
- "module": "commonjs",
4
- "jsx": "react",
3
+ "module": "esnext",
5
4
  "baseUrl": "./src"
6
5
  },
7
6
  "include": ["src/"]
@@ -2,7 +2,7 @@
2
2
  import { connect } from 'react-redux';
3
3
  <% } %>
4
4
 
5
- export default function App() {
5
+ export <% if (!flags.addRedux) { %> default <% } %> function App() {
6
6
  return <h1>Hello World</h1>;
7
7
  }
8
8
 
@@ -1,7 +1,6 @@
1
1
  import 'core-js/stable';
2
- import 'regenerator-runtime/runtime';
3
2
 
4
- import ReactDOM from 'react-dom';
3
+ import { createRoot } from 'react-dom/client';
5
4
  import { BrowserRouter as Router } from 'react-router-dom';
6
5
  <% if (flags.addRedux) { %>
7
6
  import { Provider } from 'react-redux';
@@ -9,11 +8,8 @@ import createSagaMiddleware from 'redux-saga';
9
8
  import { applyMiddleware, createStore, compose } from 'redux';
10
9
  <% } %>
11
10
 
12
- <% if (flags.addFontAwesome) { %>
13
- import './icons.js';
14
- <% } %>
15
11
  import './index.scss';
16
- import App from './components/App/App';
12
+ import App from './components/App';
17
13
  <% if (flags.addRedux) { %>
18
14
  import rootSaga from './sagas';
19
15
  import rootReducer from './reducers';
@@ -36,7 +32,9 @@ if (module.hot) {
36
32
  sagaMiddleware.run(rootSaga);
37
33
  <% } %>
38
34
 
39
- ReactDOM.render(
35
+ const root = createRoot(document.getElementById('root'));
36
+
37
+ root.render(
40
38
  <Router>
41
39
  <% if (flags.addRedux) { %>
42
40
  <Provider store={store}>
@@ -45,9 +43,5 @@ ReactDOM.render(
45
43
  <% } else { %>
46
44
  <App />
47
45
  <% } %>
48
- </Router>,
49
- document.getElementById('root')
50
- );
51
-
52
- export default App;
53
-
46
+ </Router>
47
+ )
@@ -1,7 +1,6 @@
1
1
  <% if (styleFramework === 'bulma') { %>
2
2
  @charset "utf-8";
3
3
  <% } %>
4
- @import "~normalize-scss/sass/normalize/import-now";
5
4
  <% if (styleFramework === 'bootstrap') { %>
6
5
  @import "~bootstrap/scss/bootstrap";
7
6
  <% } else if (styleFramework === 'uikit') { %>
@@ -1,4 +1,3 @@
1
- import webpack from 'webpack';
2
1
  import { resolve } from 'path';
3
2
  import HtmlPlugin from 'html-webpack-plugin';
4
3
  import ESLintPlugin from 'eslint-webpack-plugin';
@@ -18,7 +17,7 @@ const plugins = [
18
17
  files: '**/*.scss',
19
18
  failOnError: true,
20
19
  quiet: false,
21
- syntax: 'scss'
20
+ customSyntax: 'postcss-scss'
22
21
  }),
23
22
  new HtmlPlugin({
24
23
  template: './src/index.html'
@@ -27,10 +26,6 @@ const plugins = [
27
26
  new MiniCssExtractPlugin()
28
27
  ];
29
28
 
30
- if (dev) {
31
- plugins.push(new webpack.HotModuleReplacementPlugin());
32
- }
33
-
34
29
  export default {
35
30
  mode: dev ? 'development' : 'production',
36
31
  devtool: dev ? 'eval-cheap-module-source-map' : 'cheap-module-source-map',
@@ -38,7 +33,6 @@ export default {
38
33
  devServer: {
39
34
  compress: dev,
40
35
  open: true,
41
- overlay: true,
42
36
  historyApiFallback: true,
43
37
  hot: dev,
44
38
  port: 9000
@@ -100,7 +94,7 @@ export default {
100
94
  minimizer: [
101
95
  new TerserPlugin({
102
96
  terserOptions: {
103
- ecma: 9
97
+ ecma: 12
104
98
  }
105
99
  }),
106
100
  new CssMinimizerPlugin()
@@ -1,4 +0,0 @@
1
- import { library } from '@fortawesome/fontawesome-svg-core';
2
- import { faCircle } from '@fortawesome/free-solid-svg-icons';
3
-
4
- library.add(faCircle);