fix: Use same config for branch deploys as for deploy previews (#1893)

* fix: Use same config for branch deploys as for deploy previews

* chore: remove unnecessary duplicate build-deploy-preview.sh file

* fix: Attempt to workaround Netlify cache issues for Lerna repos

* chore: Remove useless debug file

* fix: try to make Gatsby less slow
This commit is contained in:
Erik Ziegler authored and GitHub committed 2020-07-22 19:41:10 +02:00
1 parent a4f286feee
commit f95a8c1530
8 files changed
+72 -68

No files matched your search

+1 -2
View File
@@ -4,12 +4,11 @@ const PnpWebpackPlugin = require(`pnp-webpack-plugin`); // Required until Webpac
exports.onCreateWebpackConfig = args => {
args.actions.setWebpackConfig({
node: { fs: 'empty' },
resolve: {
plugins: [PnpWebpackPlugin],
// Note the '..' in the path because docz gatsby project lives in the '.docz' directory
modules: [
// monorepo root
path.resolve(__dirname, '../../../node_modules'),
// platform/ui
path.resolve(__dirname, '../node_modules'),
// .docz