Skip to content

Commit

Permalink
rectified deps
Browse files Browse the repository at this point in the history
  • Loading branch information
jeryongchan committed Jan 19, 2024
1 parent 4b562c0 commit 800903b
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 27,938 deletions.
4 changes: 4 additions & 0 deletions .erb/configs/webpack.config.base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import webpack from 'webpack';
import TsconfigPathsPlugins from 'tsconfig-paths-webpack-plugin';
import webpackPaths from './webpack.paths';
import { dependencies as externals } from '../../release/app/package.json';
import path from 'path';

const configuration: webpack.Configuration = {
externals: [...Object.keys(externals || {})],
Expand Down Expand Up @@ -58,6 +59,9 @@ const configuration: webpack.Configuration = {
},
// There is no need to add aliases here, the paths in tsconfig get mirrored
plugins: [new TsconfigPathsPlugins()],
alias: {
react: path.resolve('./node_modules/react')
}
},

plugins: [
Expand Down
Loading

0 comments on commit 800903b

Please sign in to comment.