const { CracoAliasPlugin } = require('react-app-alias'); const { VanillaExtractPlugin } = require("@vanilla-extract/webpack-plugin"); module.exports = { plugins: [ { plugin: CracoAliasPlugin, options: { source: 'tsconfig', baseUrl: './src', tsConfigPath: './tsconfig.paths.json', }, }, { plugin: VanillaExtractPlugin, } ], webpack: { configure: (webpackConfig, { env, paths }) => { return webpackConfig; }, }, };