├── .babel.config.js ├── .eslintrc.json ├── .gitignore ├── .travis.yml ├── LICENSE ├── README.md ├── _sandbox ├── .eslintrc ├── .gitignore ├── index.js ├── package.json ├── watch.js └── webpack.config.js ├── appveyor.yml ├── index.js ├── package.json ├── src ├── core │ ├── extractWebpackError.js │ ├── formatErrors.js │ └── transformErrors.js ├── formatters │ ├── defaultError.js │ ├── eslintError.js │ └── moduleNotFound.js ├── friendly-errors-plugin.js ├── output.js ├── transformers │ ├── babelSyntax.js │ ├── esLintError.js │ └── moduleNotFound.js └── utils │ ├── colors.js │ └── index.js ├── test ├── fixtures │ ├── .gitignore │ ├── babel-syntax-babel-6 │ │ ├── .babelrc │ │ ├── index.js │ │ └── webpack.config.js │ ├── babel-syntax-babel-7 │ │ ├── .babelrc │ │ ├── index.js │ │ └── webpack.config.js │ ├── eslint-warnings │ │ ├── .eslintrc │ │ ├── index.js │ │ ├── module.js │ │ └── webpack.config.js │ ├── mini-css-extract-babel-syntax │ │ ├── index.scss │ │ └── webpack.config.js │ ├── module-errors │ │ ├── index.js │ │ └── webpack.config.js │ ├── multi-compiler-module-errors │ │ ├── index.js │ │ ├── index2.js │ │ └── webpack.config.js │ ├── multi-compiler-success │ │ ├── index.js │ │ ├── index2.js │ │ └── webpack.config.js │ ├── multi-postcss-warnings │ │ ├── index.css │ │ ├── index2.css │ │ ├── postcss.config.js │ │ └── webpack.config.js │ ├── postcss-warnings │ │ ├── index.css │ │ ├── postcss.config.js │ │ └── webpack.config.js │ └── success │ │ ├── index.js │ │ └── webpack.config.js ├── integration.spec.js └── unit │ ├── formatErrors.spec.js │ ├── formatters │ ├── defaultError.spec.js │ └── moduleNotFound.spec.js │ ├── plugin │ └── friendlyErrors.spec.js │ ├── transformers │ ├── babelSyntax.spec.js │ └── moduleNotFound.spec.js │ └── utils │ └── utils.spec.js └── yarn.lock /.babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geowarin/friendly-errors-webpack-plugin/HEAD/.babel.config.js -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geowarin/friendly-errors-webpack-plugin/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | .log 3 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geowarin/friendly-errors-webpack-plugin/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geowarin/friendly-errors-webpack-plugin/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geowarin/friendly-errors-webpack-plugin/HEAD/README.md -------------------------------------------------------------------------------- /_sandbox/.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geowarin/friendly-errors-webpack-plugin/HEAD/_sandbox/.eslintrc -------------------------------------------------------------------------------- /_sandbox/.gitignore: -------------------------------------------------------------------------------- 1 | dist/ -------------------------------------------------------------------------------- /_sandbox/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geowarin/friendly-errors-webpack-plugin/HEAD/_sandbox/index.js -------------------------------------------------------------------------------- /_sandbox/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geowarin/friendly-errors-webpack-plugin/HEAD/_sandbox/package.json -------------------------------------------------------------------------------- /_sandbox/watch.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geowarin/friendly-errors-webpack-plugin/HEAD/_sandbox/watch.js -------------------------------------------------------------------------------- /_sandbox/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geowarin/friendly-errors-webpack-plugin/HEAD/_sandbox/webpack.config.js -------------------------------------------------------------------------------- /appveyor.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geowarin/friendly-errors-webpack-plugin/HEAD/appveyor.yml -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geowarin/friendly-errors-webpack-plugin/HEAD/index.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geowarin/friendly-errors-webpack-plugin/HEAD/package.json -------------------------------------------------------------------------------- /src/core/extractWebpackError.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geowarin/friendly-errors-webpack-plugin/HEAD/src/core/extractWebpackError.js -------------------------------------------------------------------------------- /src/core/formatErrors.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geowarin/friendly-errors-webpack-plugin/HEAD/src/core/formatErrors.js -------------------------------------------------------------------------------- /src/core/transformErrors.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geowarin/friendly-errors-webpack-plugin/HEAD/src/core/transformErrors.js -------------------------------------------------------------------------------- /src/formatters/defaultError.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geowarin/friendly-errors-webpack-plugin/HEAD/src/formatters/defaultError.js -------------------------------------------------------------------------------- /src/formatters/eslintError.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geowarin/friendly-errors-webpack-plugin/HEAD/src/formatters/eslintError.js -------------------------------------------------------------------------------- /src/formatters/moduleNotFound.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geowarin/friendly-errors-webpack-plugin/HEAD/src/formatters/moduleNotFound.js -------------------------------------------------------------------------------- /src/friendly-errors-plugin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geowarin/friendly-errors-webpack-plugin/HEAD/src/friendly-errors-plugin.js -------------------------------------------------------------------------------- /src/output.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geowarin/friendly-errors-webpack-plugin/HEAD/src/output.js -------------------------------------------------------------------------------- /src/transformers/babelSyntax.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geowarin/friendly-errors-webpack-plugin/HEAD/src/transformers/babelSyntax.js -------------------------------------------------------------------------------- /src/transformers/esLintError.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geowarin/friendly-errors-webpack-plugin/HEAD/src/transformers/esLintError.js -------------------------------------------------------------------------------- /src/transformers/moduleNotFound.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geowarin/friendly-errors-webpack-plugin/HEAD/src/transformers/moduleNotFound.js -------------------------------------------------------------------------------- /src/utils/colors.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geowarin/friendly-errors-webpack-plugin/HEAD/src/utils/colors.js -------------------------------------------------------------------------------- /src/utils/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geowarin/friendly-errors-webpack-plugin/HEAD/src/utils/index.js -------------------------------------------------------------------------------- /test/fixtures/.gitignore: -------------------------------------------------------------------------------- 1 | **/dist -------------------------------------------------------------------------------- /test/fixtures/babel-syntax-babel-6/.babelrc: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /test/fixtures/babel-syntax-babel-6/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geowarin/friendly-errors-webpack-plugin/HEAD/test/fixtures/babel-syntax-babel-6/index.js -------------------------------------------------------------------------------- /test/fixtures/babel-syntax-babel-6/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geowarin/friendly-errors-webpack-plugin/HEAD/test/fixtures/babel-syntax-babel-6/webpack.config.js -------------------------------------------------------------------------------- /test/fixtures/babel-syntax-babel-7/.babelrc: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /test/fixtures/babel-syntax-babel-7/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geowarin/friendly-errors-webpack-plugin/HEAD/test/fixtures/babel-syntax-babel-7/index.js -------------------------------------------------------------------------------- /test/fixtures/babel-syntax-babel-7/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geowarin/friendly-errors-webpack-plugin/HEAD/test/fixtures/babel-syntax-babel-7/webpack.config.js -------------------------------------------------------------------------------- /test/fixtures/eslint-warnings/.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geowarin/friendly-errors-webpack-plugin/HEAD/test/fixtures/eslint-warnings/.eslintrc -------------------------------------------------------------------------------- /test/fixtures/eslint-warnings/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geowarin/friendly-errors-webpack-plugin/HEAD/test/fixtures/eslint-warnings/index.js -------------------------------------------------------------------------------- /test/fixtures/eslint-warnings/module.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geowarin/friendly-errors-webpack-plugin/HEAD/test/fixtures/eslint-warnings/module.js -------------------------------------------------------------------------------- /test/fixtures/eslint-warnings/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geowarin/friendly-errors-webpack-plugin/HEAD/test/fixtures/eslint-warnings/webpack.config.js -------------------------------------------------------------------------------- /test/fixtures/mini-css-extract-babel-syntax/index.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geowarin/friendly-errors-webpack-plugin/HEAD/test/fixtures/mini-css-extract-babel-syntax/index.scss -------------------------------------------------------------------------------- /test/fixtures/mini-css-extract-babel-syntax/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geowarin/friendly-errors-webpack-plugin/HEAD/test/fixtures/mini-css-extract-babel-syntax/webpack.config.js -------------------------------------------------------------------------------- /test/fixtures/module-errors/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geowarin/friendly-errors-webpack-plugin/HEAD/test/fixtures/module-errors/index.js -------------------------------------------------------------------------------- /test/fixtures/module-errors/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geowarin/friendly-errors-webpack-plugin/HEAD/test/fixtures/module-errors/webpack.config.js -------------------------------------------------------------------------------- /test/fixtures/multi-compiler-module-errors/index.js: -------------------------------------------------------------------------------- 1 | require('./non-existing'); 2 | -------------------------------------------------------------------------------- /test/fixtures/multi-compiler-module-errors/index2.js: -------------------------------------------------------------------------------- 1 | require('not-found'); 2 | -------------------------------------------------------------------------------- /test/fixtures/multi-compiler-module-errors/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geowarin/friendly-errors-webpack-plugin/HEAD/test/fixtures/multi-compiler-module-errors/webpack.config.js -------------------------------------------------------------------------------- /test/fixtures/multi-compiler-success/index.js: -------------------------------------------------------------------------------- 1 | module.exports = 'I am an entry point'; 2 | -------------------------------------------------------------------------------- /test/fixtures/multi-compiler-success/index2.js: -------------------------------------------------------------------------------- 1 | module.exports = 'I am another entry point'; 2 | -------------------------------------------------------------------------------- /test/fixtures/multi-compiler-success/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geowarin/friendly-errors-webpack-plugin/HEAD/test/fixtures/multi-compiler-success/webpack.config.js -------------------------------------------------------------------------------- /test/fixtures/multi-postcss-warnings/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geowarin/friendly-errors-webpack-plugin/HEAD/test/fixtures/multi-postcss-warnings/index.css -------------------------------------------------------------------------------- /test/fixtures/multi-postcss-warnings/index2.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geowarin/friendly-errors-webpack-plugin/HEAD/test/fixtures/multi-postcss-warnings/index2.css -------------------------------------------------------------------------------- /test/fixtures/multi-postcss-warnings/postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geowarin/friendly-errors-webpack-plugin/HEAD/test/fixtures/multi-postcss-warnings/postcss.config.js -------------------------------------------------------------------------------- /test/fixtures/multi-postcss-warnings/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geowarin/friendly-errors-webpack-plugin/HEAD/test/fixtures/multi-postcss-warnings/webpack.config.js -------------------------------------------------------------------------------- /test/fixtures/postcss-warnings/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geowarin/friendly-errors-webpack-plugin/HEAD/test/fixtures/postcss-warnings/index.css -------------------------------------------------------------------------------- /test/fixtures/postcss-warnings/postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geowarin/friendly-errors-webpack-plugin/HEAD/test/fixtures/postcss-warnings/postcss.config.js -------------------------------------------------------------------------------- /test/fixtures/postcss-warnings/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geowarin/friendly-errors-webpack-plugin/HEAD/test/fixtures/postcss-warnings/webpack.config.js -------------------------------------------------------------------------------- /test/fixtures/success/index.js: -------------------------------------------------------------------------------- 1 | module.exports = 'I am an entry point'; 2 | -------------------------------------------------------------------------------- /test/fixtures/success/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geowarin/friendly-errors-webpack-plugin/HEAD/test/fixtures/success/webpack.config.js -------------------------------------------------------------------------------- /test/integration.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geowarin/friendly-errors-webpack-plugin/HEAD/test/integration.spec.js -------------------------------------------------------------------------------- /test/unit/formatErrors.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geowarin/friendly-errors-webpack-plugin/HEAD/test/unit/formatErrors.spec.js -------------------------------------------------------------------------------- /test/unit/formatters/defaultError.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geowarin/friendly-errors-webpack-plugin/HEAD/test/unit/formatters/defaultError.spec.js -------------------------------------------------------------------------------- /test/unit/formatters/moduleNotFound.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geowarin/friendly-errors-webpack-plugin/HEAD/test/unit/formatters/moduleNotFound.spec.js -------------------------------------------------------------------------------- /test/unit/plugin/friendlyErrors.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geowarin/friendly-errors-webpack-plugin/HEAD/test/unit/plugin/friendlyErrors.spec.js -------------------------------------------------------------------------------- /test/unit/transformers/babelSyntax.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geowarin/friendly-errors-webpack-plugin/HEAD/test/unit/transformers/babelSyntax.spec.js -------------------------------------------------------------------------------- /test/unit/transformers/moduleNotFound.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geowarin/friendly-errors-webpack-plugin/HEAD/test/unit/transformers/moduleNotFound.spec.js -------------------------------------------------------------------------------- /test/unit/utils/utils.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geowarin/friendly-errors-webpack-plugin/HEAD/test/unit/utils/utils.spec.js -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geowarin/friendly-errors-webpack-plugin/HEAD/yarn.lock --------------------------------------------------------------------------------