Skip to content

Commit

Permalink
Fixes #125: Remove aliases in WebPack preventing use of old versions …
Browse files Browse the repository at this point in the history
…of nuxt-i18n
  • Loading branch information
KennyDurand authored and BuckyMaler committed Apr 23, 2021
1 parent 35389e7 commit b26162a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions libs/nuxt/src/webpack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ import TsconfigPathsPlugin from 'tsconfig-paths-webpack-plugin';

// eslint-disable-next-line @typescript-eslint/no-explicit-any
export function modifyTypescriptAliases(config: any, projectRoot: Path): void {
['~~', '@@', '~', '@', 'assets', 'static'].forEach(
(key) => delete config.resolve.alias[key]
);

// eslint-disable-next-line @typescript-eslint/no-explicit-any
const options: any = {
configFile: getSystemPath(join(projectRoot, 'tsconfig.json')),
Expand Down

0 comments on commit b26162a

Please sign in to comment.