diff --git a/packages/webpack/CHANGELOG.md b/packages/webpack/CHANGELOG.md index bb2949c2..461f93bb 100644 --- a/packages/webpack/CHANGELOG.md +++ b/packages/webpack/CHANGELOG.md @@ -3,6 +3,7 @@ ## Next Release - Remove deprecated `fileType` API ([#260](https://github.com/andywer/webpack-blocks/issues/260)) +- Remove deprecated `resolveAliases` block ([#267](https://github.com/andywer/webpack-blocks/issues/267)) ## 1.0.0 diff --git a/packages/webpack/index.js b/packages/webpack/index.js index dab2043e..025bee2d 100644 --- a/packages/webpack/index.js +++ b/packages/webpack/index.js @@ -26,7 +26,6 @@ exports.setEnv = require('./lib/setEnv') exports.entryPoint = entryPoint exports.performance = performance exports.resolve = resolve -exports.resolveAliases = resolveAliases exports.setContext = setContext exports.setDevTool = setDevTool exports.setOutput = setOutput @@ -125,19 +124,6 @@ function resolve (config) { }) } -/** - * @deprecated - * @see https://webpack.github.io/docs/configuration.html#resolve-alias - */ -function resolveAliases (aliases) { - console.warn(`[webpack-blocks] resolveAliases is deprecated. Please, use resolve({ alias: '' }) instead.`) - return (context, util) => util.merge({ - resolve: { - alias: aliases - } - }) -} - /** * @see https://webpack.github.io/docs/configuration.html#context */