Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Commit

Permalink
updated webpack config
Browse files Browse the repository at this point in the history
  • Loading branch information
sdadn committed May 7, 2024
1 parent 16c8925 commit 6cc4153
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,18 @@ const devSiteConfig = (env = {}, argv = { p: false }) => ({
}),
],
resolve: {
extensions: ['.jst'],
alias: {
'terra-application/package.json': path.resolve(__dirname, 'packages', 'terra-application', 'package.json')
},
modules: [path.resolve(__dirname, 'packages'), 'node_modules'],
exportsFields: ['exports'],
mainFiles: ['index'],
extensions: ['.jst', '.jsx', '.js'],
},
});

const mergedConfig = (env, argv) => (
// merge(WebpackConfigTerra(env, argv), devSiteConfig())
merge(WebpackConfigTerra(env, argv), devSiteConfig())
);

Expand Down

0 comments on commit 6cc4153

Please sign in to comment.