-
-
Notifications
You must be signed in to change notification settings - Fork 796
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
works in development but not production
- Loading branch information
Showing
21 changed files
with
1,180 additions
and
211 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,3 +21,5 @@ dist | |
**/.env.development.local | ||
**/.env.test.local | ||
**/.env.production.local | ||
|
||
.generated-prisma-client |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,10 @@ | ||
module.exports = { | ||
webpack: (config, {buildId, dev, isServer, defaultLoaders, webpack}) => { | ||
// Note: we provide webpack above so you should not `require` it | ||
// Perform customizations to webpack config | ||
// Important: return the modified config | ||
return config | ||
}, | ||
webpackDevMiddleware: (config) => { | ||
// Perform customizations to webpack dev middleware config | ||
// Important: return the modified config | ||
return config | ||
}, | ||
// webpack: (config, {buildId, dev, isServer, defaultLoaders, webpack}) => { | ||
// // Perform customizations to webpack config here | ||
// return config | ||
// }, | ||
// webpackDevMiddleware: (config) => { | ||
// // Perform customizations to webpack dev middleware config here | ||
// return config | ||
// }, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,25 @@ | ||
const {withBlitz} = require('@blitzjs/server') | ||
const path = require('path') | ||
|
||
module.exports = withBlitz({}) | ||
module.exports = withBlitz({ | ||
webpack: (config, options) => { | ||
// const firstRule = config.module.rules[0] | ||
// const origExclude = firstRule.exclude | ||
// firstRule.exclude = (path) => { | ||
// if (path.includes('pclient')) { | ||
// console.log('EXCLUDING') | ||
// return true | ||
// } | ||
// return origExclude(path) | ||
// } | ||
|
||
// config.node.__dirname = false | ||
|
||
config.externals = { | ||
// 'db/.generated-prisma-client': 'db/.generated-prisma-client', | ||
pclient: path.resolve(__dirname, 'pclient'), | ||
} | ||
|
||
return config | ||
}, | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,10 @@ | ||
module.exports = { | ||
webpack: (config, {buildId, dev, isServer, defaultLoaders, webpack}) => { | ||
// Note: we provide webpack above so you should not `require` it | ||
// Perform customizations to webpack config | ||
// Important: return the modified config | ||
return config | ||
}, | ||
webpackDevMiddleware: (config) => { | ||
// Perform customizations to webpack dev middleware config | ||
// Important: return the modified config | ||
return config | ||
}, | ||
// webpack: (config, {buildId, dev, isServer, defaultLoaders, webpack}) => { | ||
// // Perform customizations to webpack config here | ||
// return config | ||
// }, | ||
// webpackDevMiddleware: (config) => { | ||
// // Perform customizations to webpack dev middleware config here | ||
// return config | ||
// }, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.