Update dependencies

This commit is contained in:
Bartek Fabiszewski 2022-03-19 11:34:43 +01:00
parent 95e61e749b
commit 7920705d2b
7 changed files with 4314 additions and 6517 deletions

View File

@ -1,343 +1,342 @@
module.exports = { module.exports = {
"env": { 'env': {
"browser": true, 'browser': true,
"es6": true, 'node': true,
"jasmine": true 'es2018': true,
}, 'jasmine': true
"extends": [ },
"eslint:recommended", 'extends': [
"plugin:jasmine/recommended", 'eslint:recommended',
"plugin:import/errors", 'plugin:jasmine/recommended',
"plugin:import/warnings" 'plugin:import/errors',
'plugin:import/warnings'
],
'globals': {
'Atomics': 'readonly',
'SharedArrayBuffer': 'readonly',
'google': true
},
'parser': '@babel/eslint-parser',
'parserOptions': {
'ecmaVersion': 2018,
'sourceType': 'module'
},
'plugins': [
'jasmine',
'import'
],
'rules': {
'accessor-pairs': 'error',
'array-bracket-newline': 'error',
'array-bracket-spacing': [
'error',
'always'
], ],
"globals": { 'array-callback-return': 'error',
"Atomics": "readonly", 'array-element-newline': 'off',
"SharedArrayBuffer": "readonly", 'arrow-body-style': 'error',
"google": true 'arrow-parens': 'error',
}, 'arrow-spacing': 'error',
"parser": "babel-eslint", 'block-scoped-var': 'off',
"parserOptions": { 'block-spacing': 'off',
"ecmaVersion": 2018, 'brace-style': [
"sourceType": "module" 'error',
}, '1tbs',
"plugins": [ {
"jasmine", 'allowSingleLine': true
"import" }
], ],
"rules": { 'callback-return': 'error',
"accessor-pairs": "error", 'camelcase': 'off',
"array-bracket-newline": "error", 'capitalized-comments': 'off',
"array-bracket-spacing": [ 'class-methods-use-this': 'error',
"error", 'comma-dangle': 'error',
"always" 'comma-spacing': [
], 'error',
"array-callback-return": "error", {
"array-element-newline": "off", 'after': true,
"arrow-body-style": "error", 'before': false
"arrow-parens": "error", }
"arrow-spacing": "error", ],
"block-scoped-var": "off", 'comma-style': [
"block-spacing": "off", 'error',
"brace-style": [ 'last'
"error", ],
"1tbs", 'complexity': 'error',
{ 'computed-property-spacing': [
"allowSingleLine": true 'error',
} 'never'
], ],
"callback-return": "error", 'consistent-return': 'error',
"camelcase": "off", 'consistent-this': 'off',
"capitalized-comments": "off", 'curly': 'error',
"class-methods-use-this": "error", 'default-case': 'error',
"comma-dangle": "error", 'dot-location': [
"comma-spacing": [ 'error',
"error", 'property'
{ ],
"after": true, 'dot-notation': 'off',
"before": false 'eol-last': 'error',
} 'eqeqeq': 'off',
], 'func-call-spacing': 'error',
"comma-style": [ 'func-name-matching': 'error',
"error", 'func-names': 'off',
"last" 'func-style': [
], 'error',
"complexity": "error", 'declaration',
"computed-property-spacing": [ {
"error", 'allowArrowFunctions': true
"never" }
], ],
"consistent-return": "error", 'function-paren-newline': 'off',
"consistent-this": "off", 'generator-star-spacing': 'error',
"curly": "error", 'global-require': 'error',
"default-case": "error", 'guard-for-in': 'off',
"dot-location": [ 'handle-callback-err': 'error',
"error", 'id-blacklist': 'error',
"property" 'id-length': 'off',
], 'id-match': 'error',
"dot-notation": "off", 'implicit-arrow-linebreak': 'error',
"eol-last": "error", 'indent': 'off',
"eqeqeq": "off", 'indent-legacy': 'off',
"func-call-spacing": "error", 'init-declarations': 'off',
"func-name-matching": "error", 'jsx-quotes': 'error',
"func-names": "off", 'key-spacing': 'error',
"func-style": [ 'keyword-spacing': [
"error", 'error',
"declaration", {
{ 'after': true,
"allowArrowFunctions": true 'before': true
} }
], ],
"function-paren-newline": "off", 'line-comment-position': 'off',
"generator-star-spacing": "error", 'linebreak-style': [
"global-require": "error", 'error',
"guard-for-in": "off", 'unix'
"handle-callback-err": "error", ],
"id-blacklist": "error", 'lines-around-comment': 'off',
"id-length": "off", 'lines-around-directive': 'error',
"id-match": "error", 'lines-between-class-members': 'error',
"implicit-arrow-linebreak": "error", 'max-classes-per-file': 'error',
"indent": "off", 'max-depth': 'off',
"indent-legacy": "off", 'max-len': 'off',
"init-declarations": "off", 'max-lines': 'off',
"jsx-quotes": "error", 'max-lines-per-function': 'off',
"key-spacing": "error", 'max-nested-callbacks': 'error',
"keyword-spacing": [ 'max-params': 'error',
"error", 'max-statements': 'off',
{ 'max-statements-per-line': 'off',
"after": true, 'multiline-comment-style': 'off',
"before": true 'multiline-ternary': [
} 'error',
], 'never'
"line-comment-position": "off", ],
"linebreak-style": [ 'new-cap': [ 'error', { 'newIsCapExceptionPattern': '^u[A-Z]' } ],
"error", 'new-parens': 'error',
"unix" 'newline-after-var': 'off',
], 'newline-before-return': 'off',
"lines-around-comment": "off", 'newline-per-chained-call': 'off',
"lines-around-directive": "error", 'no-alert': 'off',
"lines-between-class-members": "error", 'no-array-constructor': 'error',
"max-classes-per-file": "error", 'no-async-promise-executor': 'error',
"max-depth": "off", 'no-await-in-loop': 'error',
"max-len": "off", 'no-bitwise': 'error',
"max-lines": "off", 'no-buffer-constructor': 'error',
"max-lines-per-function": "off", 'no-caller': 'error',
"max-nested-callbacks": "error", 'no-catch-shadow': 'error',
"max-params": "error", 'no-cond-assign': [
"max-statements": "off", 'error',
"max-statements-per-line": "off", 'except-parens'
"multiline-comment-style": "off", ],
"multiline-ternary": [ 'no-confusing-arrow': 'error',
"error", 'no-continue': 'error',
"never" 'no-div-regex': 'error',
], 'no-duplicate-imports': 'error',
"new-cap": [ 'no-else-return': 'error',
"error", { "newIsCapExceptionPattern": "^u[A-Z]" } 'no-empty-function': 'error',
], 'no-eq-null': 'off',
"new-parens": "error", 'no-eval': 'error',
"newline-after-var": "off", 'no-extend-native': 'off',
"newline-before-return": "off", 'no-extra-bind': 'error',
"newline-per-chained-call": "off", 'no-extra-label': 'error',
"no-alert": "off", 'no-extra-parens': 'off',
"no-array-constructor": "error", 'no-floating-decimal': 'error',
"no-async-promise-executor": "error", 'no-implicit-globals': 'off',
"no-await-in-loop": "error", 'no-implied-eval': 'error',
"no-bitwise": "error", 'no-inline-comments': 'off',
"no-buffer-constructor": "error", 'no-inner-declarations': [
"no-caller": "error", 'error',
"no-catch-shadow": "error", 'functions'
"no-cond-assign": [ ],
"error", 'no-invalid-this': 'off',
"except-parens" 'no-iterator': 'error',
], 'no-label-var': 'error',
"no-confusing-arrow": "error", 'no-labels': 'error',
"no-continue": "error", 'no-lone-blocks': 'error',
"no-div-regex": "error", 'no-lonely-if': 'error',
"no-duplicate-imports": "error", 'no-loop-func': 'error',
"no-else-return": "error", 'no-magic-numbers': 'off',
"no-empty-function": "error", 'no-misleading-character-class': 'error',
"no-eq-null": "off", 'no-mixed-operators': 'off',
"no-eval": "error", 'no-mixed-requires': 'error',
"no-extend-native": "off", 'no-multi-assign': 'error',
"no-extra-bind": "error", 'no-multi-spaces': 'error',
"no-extra-label": "error", 'no-multi-str': 'error',
"no-extra-parens": "off", 'no-multiple-empty-lines': 'error',
"no-floating-decimal": "error", 'no-native-reassign': 'error',
"no-implicit-globals": "off", 'no-negated-condition': 'off',
"no-implied-eval": "error", 'no-negated-in-lhs': 'error',
"no-inline-comments": "off", 'no-nested-ternary': 'error',
"no-inner-declarations": [ 'no-new': 'error',
"error", 'no-new-func': 'error',
"functions" 'no-new-object': 'error',
], 'no-new-require': 'error',
"no-invalid-this": "off", 'no-new-wrappers': 'error',
"no-iterator": "error", 'no-octal-escape': 'error',
"no-label-var": "error", 'no-param-reassign': 'off',
"no-labels": "error", 'no-path-concat': 'error',
"no-lone-blocks": "error", 'no-plusplus': 'off',
"no-lonely-if": "error", 'no-process-env': 'error',
"no-loop-func": "error", 'no-process-exit': 'error',
"no-magic-numbers": "off", 'no-proto': 'error',
"no-misleading-character-class": "error", 'no-prototype-builtins': 'off',
"no-mixed-operators": "off", 'no-restricted-globals': 'error',
"no-mixed-requires": "error", 'no-restricted-imports': 'error',
"no-multi-assign": "error", 'no-restricted-modules': 'error',
"no-multi-spaces": "error", 'no-restricted-properties': 'error',
"no-multi-str": "error", 'no-restricted-syntax': 'error',
"no-multiple-empty-lines": "error", 'no-return-assign': [
"no-native-reassign": "error", 'error',
"no-negated-condition": "off", 'except-parens'
"no-negated-in-lhs": "error", ],
"no-nested-ternary": "error", 'no-return-await': 'error',
"no-new": "error", 'no-script-url': 'error',
"no-new-func": "error", 'no-self-compare': 'error',
"no-new-object": "error", 'no-sequences': 'error',
"no-new-require": "error", 'no-shadow': 'error',
"no-new-wrappers": "error", 'no-shadow-restricted-names': 'error',
"no-octal-escape": "error", 'no-spaced-func': 'error',
"no-param-reassign": "off", 'no-sync': 'error',
"no-path-concat": "error", 'no-tabs': 'error',
"no-plusplus": "off", 'no-template-curly-in-string': 'error',
"no-process-env": "error", 'no-ternary': 'off',
"no-process-exit": "error", 'no-throw-literal': 'error',
"no-proto": "error", 'no-trailing-spaces': 'error',
"no-prototype-builtins": "off", 'no-undef-init': 'error',
"no-restricted-globals": "error", 'no-undefined': 'error',
"no-restricted-imports": "error", 'no-underscore-dangle': [
"no-restricted-modules": "error", 'error',
"no-restricted-properties": "error", {
"no-restricted-syntax": "error", 'allowAfterThis': true
"no-return-assign": [ }
"error", ],
"except-parens" 'no-unmodified-loop-condition': 'error',
], 'no-unneeded-ternary': 'error',
"no-return-await": "error", 'no-unused-expressions': 'error',
"no-script-url": "error", 'no-use-before-define': 'off',
"no-self-compare": "error", 'no-useless-call': 'error',
"no-sequences": "error", 'no-useless-catch': 'error',
"no-shadow": "error", 'no-useless-computed-key': 'error',
"no-shadow-restricted-names": "error", 'no-useless-concat': 'off',
"no-spaced-func": "error", 'no-useless-constructor': 'error',
"no-sync": "error", 'no-useless-rename': 'error',
"no-tabs": "error", 'no-useless-return': 'error',
"no-template-curly-in-string": "error", 'no-var': 'error',
"no-ternary": "off", 'no-void': 'error',
"no-throw-literal": "error", 'no-warning-comments': 'warn',
"no-trailing-spaces": "error", 'no-whitespace-before-property': 'error',
"no-undef-init": "error", 'no-with': 'error',
"no-undefined": "error", 'nonblock-statement-body-position': 'error',
"no-underscore-dangle": [ 'object-curly-newline': 'error',
"error", 'object-curly-spacing': [
{ 'error',
"allowAfterThis": true 'always'
} ],
], 'object-shorthand': [
"no-unmodified-loop-condition": "error", 'error',
"no-unneeded-ternary": "error", 'consistent-as-needed'
"no-unused-expressions": "error", ],
"no-use-before-define": "off", 'one-var': 'off',
"no-useless-call": "error", 'one-var-declaration-per-line': [
"no-useless-catch": "error", 'error',
"no-useless-computed-key": "error", 'initializations'
"no-useless-concat": "off", ],
"no-useless-constructor": "error", 'operator-assignment': [
"no-useless-rename": "error", 'error',
"no-useless-return": "error", 'always'
"no-var": "error", ],
"no-void": "error", 'operator-linebreak': 'error',
"no-warning-comments": "warn", 'padded-blocks': 'off',
"no-whitespace-before-property": "error", 'padding-line-between-statements': 'error',
"no-with": "error", 'prefer-arrow-callback': 'error',
"nonblock-statement-body-position": "error", 'prefer-const': 'error',
"object-curly-newline": "error", 'prefer-destructuring': 'off',
"object-curly-spacing": [ 'prefer-named-capture-group': 'off',
"error", 'prefer-numeric-literals': 'error',
"always" 'prefer-object-spread': 'error',
], 'prefer-promise-reject-errors': 'error',
"object-shorthand": [ 'prefer-reflect': 'off',
"error", 'prefer-rest-params': 'off',
"consistent-as-needed" 'prefer-spread': 'error',
], 'prefer-template': 'off',
"one-var": "off", 'quote-props': 'off',
"one-var-declaration-per-line": [ 'quotes': [
"error", 'error',
"initializations" 'single',
], 'avoid-escape'
"operator-assignment": [ ],
"error", 'radix': [
"always" 'error',
], 'as-needed'
"operator-linebreak": "error", ],
"padded-blocks": "off", 'require-atomic-updates': 'error',
"padding-line-between-statements": "error", 'require-await': 'error',
"prefer-arrow-callback": "error", 'require-jsdoc': 'off',
"prefer-const": "error", 'require-unicode-regexp': 'off',
"prefer-destructuring": "off", 'rest-spread-spacing': 'error',
"prefer-named-capture-group": "off", 'semi': 'off',
"prefer-numeric-literals": "error", 'semi-spacing': [
"prefer-object-spread": "error", 'error',
"prefer-promise-reject-errors": "error", {
"prefer-reflect": "off", 'after': true,
"prefer-rest-params": "off", 'before': false
"prefer-spread": "error", }
"prefer-template": "off", ],
"quote-props": "off", 'semi-style': [
"quotes": [ 'error',
"error", 'last'
"single", ],
"avoid-escape" 'sort-imports': 'error',
], 'sort-keys': 'off',
"radix": [ 'sort-vars': 'off',
"error", 'space-before-blocks': 'error',
"as-needed" 'space-before-function-paren': 'off',
], 'space-in-parens': [
"require-atomic-updates": "error", 'error',
"require-await": "error", 'never'
"require-jsdoc": "off", ],
"require-unicode-regexp": "off", 'space-infix-ops': 'error',
"rest-spread-spacing": "error", 'space-unary-ops': 'error',
"semi": "off", 'spaced-comment': [
"semi-spacing": [ 'error',
"error", 'always'
{ ],
"after": true, 'strict': 'off',
"before": false 'switch-colon-spacing': 'error',
} 'symbol-description': 'error',
], 'template-curly-spacing': 'error',
"semi-style": [ 'template-tag-spacing': 'error',
"error", 'unicode-bom': [
"last" 'error',
], 'never'
"sort-imports": "error", ],
"sort-keys": "off", 'valid-jsdoc': 'off',
"sort-vars": "off", 'vars-on-top': 'off',
"space-before-blocks": "error", 'wrap-regex': 'error',
"space-before-function-paren": "off", 'yield-star-spacing': 'error',
"space-in-parens": [ 'yoda': [
"error", 'error',
"never" 'never'
], ]
"space-infix-ops": "error", }
"space-unary-ops": "error",
"spaced-comment": [
"error",
"always"
],
"strict": "off",
"switch-colon-spacing": "error",
"symbol-description": "error",
"template-curly-spacing": "error",
"template-tag-spacing": "error",
"unicode-bom": [
"error",
"never"
],
"valid-jsdoc": "off",
"vars-on-top": "off",
"wrap-regex": "error",
"yield-star-spacing": "error",
"yoda": [
"error",
"never"
]
}
}; };

959
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -1,4 +1,4 @@
/* eslint-disable no-undef,no-process-env,no-underscore-dangle */ /* eslint-disable no-undef,no-process-env,no-underscore-dangle,no-global-assign,no-native-reassign */
// noinspection NpmUsedModulesInstalled // noinspection NpmUsedModulesInstalled
process = require('process'); process = require('process');
process.env.CHROME_BIN = require('puppeteer').executablePath(); process.env.CHROME_BIN = require('puppeteer').executablePath();
@ -63,7 +63,7 @@ module.exports = function(config) {
test: /\.js$/, test: /\.js$/,
include: path.resolve('js/src/'), include: path.resolve('js/src/'),
use: { use: {
loader: 'istanbul-instrumenter-loader', loader: '@jsdevtools/coverage-istanbul-loader',
options: { esModules: true } options: { esModules: true }
} }
} }

9067
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -19,46 +19,46 @@
"author": "Bartek Fabiszewski", "author": "Bartek Fabiszewski",
"license": "GPL-3.0-or-later", "license": "GPL-3.0-or-later",
"devDependencies": { "devDependencies": {
"@babel/cli": "^7.14.8", "@babel/cli": "^7.17.6",
"@babel/core": "^7.15.0", "@babel/core": "^7.17.8",
"@babel/plugin-transform-runtime": "^7.15.0", "@babel/eslint-parser": "^7.17.0",
"@babel/preset-env": "^7.15.0", "@babel/plugin-transform-runtime": "^7.17.0",
"babel-eslint": "^10.1.0", "@babel/preset-env": "^7.16.11",
"babel-loader": "^8.2.2", "@jsdevtools/coverage-istanbul-loader": "3.0.5",
"babel-loader": "^8.2.3",
"browserlist": "^1.0.1", "browserlist": "^1.0.1",
"clean-webpack-plugin": "^3.0.0", "clean-webpack-plugin": "^4.0.0",
"copy-webpack-plugin": "^9.0.1", "copy-webpack-plugin": "^10.2.4",
"core-js": "^3.16.4", "core-js": "^3.21.1",
"csso": "^4.2.0", "csso": "^5.0.3",
"eslint": "^7.32.0", "eslint": "^8.11.0",
"eslint-plugin-import": "^2.24.2", "eslint-plugin-import": "^2.25.4",
"eslint-plugin-jasmine": "^4.1.2", "eslint-plugin-jasmine": "^4.1.3",
"husky": "^7.0.2", "husky": "^7.0.4",
"istanbul-instrumenter-loader": "^3.0.1", "jasmine": "^4.0.2",
"jasmine": "^3.9.0", "karma": "^6.3.17",
"karma": "^6.3.4", "karma-chrome-launcher": "^3.1.1",
"karma-chrome-launcher": "^3.1.0",
"karma-coverage-istanbul-reporter": "^3.0.3", "karma-coverage-istanbul-reporter": "^3.0.3",
"karma-jasmine": "^4.0.1", "karma-jasmine": "^4.0.1",
"karma-sourcemap-loader": "^0.3.8", "karma-sourcemap-loader": "^0.3.8",
"karma-webpack": "^5.0.0", "karma-webpack": "^5.0.0",
"prepush-if-changed": "^1.0.8", "prepush-if-changed": "^1.0.8",
"puppeteer": "^10.2.0", "puppeteer": "^13.5.1",
"regenerator-runtime": "^0.13.9", "regenerator-runtime": "^0.13.9",
"stylelint": "^13.13.1", "stylelint": "^14.6.0",
"stylelint-config-standard": "^22.0.0", "stylelint-config-standard": "^25.0.0",
"terser-webpack-plugin": "^5.2.0", "terser-webpack-plugin": "^5.3.1",
"webpack": "^5.51.1", "webpack": "^5.70.0",
"webpack-cli": "^4.8.0", "webpack-cli": "^4.9.2",
"webpack-merge": "^5.8.0" "webpack-merge": "^5.8.0"
}, },
"dependencies": { "dependencies": {
"@babel/runtime": "^7.15.3", "@babel/runtime": "^7.17.8",
"@babel/runtime-corejs3": "^7.15.3", "@babel/runtime-corejs3": "^7.17.8",
"caniuse-lite": "^1.0.30001252", "caniuse-lite": "^1.0.30001319",
"chartist": "^0.11.4", "chartist": "^0.11.4",
"chartist-plugin-axistitle": "0.0.7", "chartist-plugin-axistitle": "0.0.7",
"ol": "^6.6.1" "ol": "^6.13.0"
}, },
"babel": { "babel": {
"presets": [ "presets": [
@ -83,7 +83,9 @@
"extends": "stylelint-config-standard", "extends": "stylelint-config-standard",
"rules": { "rules": {
"selector-list-comma-newline-after": "always-multi-line", "selector-list-comma-newline-after": "always-multi-line",
"no-descending-specificity": null "no-descending-specificity": null,
"color-function-notation": "legacy",
"property-no-vendor-prefix": null
} }
}, },
"browserslist": [ "browserslist": [

62
phpcs.xml Normal file
View File

@ -0,0 +1,62 @@
<?xml version="1.0" encoding="UTF-8"?>
<ruleset name="pcsg-generated-ruleset">
<description>Created with the PHP Coding Standard Generator. http://edorian.github.com/php-coding-standard-generator/</description>
<arg name="tab-width" value="2"/>
<rule ref="Generic.Classes.DuplicateClassName"/>
<rule ref="Generic.CodeAnalysis.EmptyStatement"/>
<rule ref="Generic.CodeAnalysis.ForLoopShouldBeWhileLoop"/>
<rule ref="Generic.CodeAnalysis.ForLoopWithTestFunctionCall"/>
<rule ref="Generic.CodeAnalysis.JumbledIncrementer"/>
<rule ref="Generic.CodeAnalysis.UnconditionalIfStatement"/>
<rule ref="Generic.CodeAnalysis.UnnecessaryFinalModifier"/>
<rule ref="Generic.CodeAnalysis.UnusedFunctionParameter"/>
<rule ref="Generic.CodeAnalysis.UselessOverridingMethod"/>
<rule ref="Generic.ControlStructures.InlineControlStructure"/>
<rule ref="Generic.Debug.ClosureLinter"/>
<rule ref="Generic.Debug.JSHint"/>
<rule ref="Generic.Debug.CSSLint"/>
<rule ref="Generic.Files.ByteOrderMark"/>
<rule ref="Generic.Files.LineEndings"/>
<rule ref="Generic.Formatting.SpaceAfterCast"/>
<rule ref="Generic.Functions.FunctionCallArgumentSpacing"/>
<rule ref="Generic.Functions.OpeningFunctionBraceKernighanRitchie"/>
<rule ref="Generic.Metrics.CyclomaticComplexity"/>
<rule ref="Generic.Metrics.NestingLevel"/>
<rule ref="Generic.NamingConventions.ConstructorName"/>
<rule ref="Generic.NamingConventions.UpperCaseConstantName"/>
<rule ref="Generic.PHP.DeprecatedFunctions"/>
<rule ref="Generic.PHP.ForbiddenFunctions"/>
<rule ref="Generic.PHP.LowerCaseConstant"/>
<rule ref="Generic.WhiteSpace.DisallowTabIndent"/>
<rule ref="Generic.WhiteSpace.ScopeIndent">
<properties>
<property name="indent" value="2"/>
<property name="ignoreIndentationTokens" type="array">
<element value="T_COMMENT"/>
<element value="T_DOC_COMMENT_OPEN_TAG"/>
</property>
</properties>
</rule>
<!--
<rule ref="PEAR.Commenting.FunctionComment"/>
<rule ref="PEAR.Functions.FunctionCallSignature">
<properties>
<property name="indent" value="2"/>
</properties>
</rule>
<rule ref="PEAR.Functions.ValidDefaultValue"/>
<rule ref="PEAR.NamingConventions.ValidClassName"/>
<rule ref="PEAR.WhiteSpace.ObjectOperatorIndent">
<properties>
<property name="indent" value="2"/>
</properties>
</rule>
<rule ref="PEAR.WhiteSpace.ScopeIndent">
<properties>
<property name="indent" value="2"/>
</properties>
</rule>
-->
</ruleset>

View File

@ -3,5 +3,5 @@ const common = require('./webpack.common.js');
module.exports = merge(common, { module.exports = merge(common, {
mode: 'development', mode: 'development',
devtool: 'inline-source-map', devtool: 'inline-source-map'
}); });