Skip to content

Commit

Permalink
feature: add custom webpack config for app
Browse files Browse the repository at this point in the history
  • Loading branch information
sanderdrummer committed Dec 21, 2020
1 parent 5164120 commit f28713b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions apps/the-app/webpack.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/* eslint-disable @typescript-eslint/no-var-requires */
const nrwlConfig = require("@nrwl/react/plugins/webpack.js");

module.exports = (config, _) => {
nrwlConfig(config);
return config;
};
2 changes: 1 addition & 1 deletion workspace.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
],
"styles": [],
"scripts": [],
"webpackConfig": "@nrwl/react/plugins/webpack"
"webpackConfig": "apps/the-app/webpack.config.js"
},
"configurations": {
"production": {
Expand Down

0 comments on commit f28713b

Please sign in to comment.