Skip to content

Commit

Permalink
#6763 set a better value for process in the manager webpack config
Browse files Browse the repository at this point in the history
  • Loading branch information
libetl committed May 11, 2019
1 parent f15ffa1 commit 9d065e7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/core/src/server/manager/manager-webpack.config.js
Expand Up @@ -55,12 +55,11 @@ export default ({ configDir, configType, entries, dll, outputDir, cache, babelOp
}),
template: require.resolve(`../templates/index.ejs`),
}),
new webpack.DefinePlugin({ 'process.env': stringified }),
new CaseSensitivePathsPlugin(),
new Dotenv({ silent: true }),
// graphql sources check process variable
new DefinePlugin({
process: JSON.stringify(true),
process: { browser: true, env: stringified },
NODE_ENV: JSON.stringify(process.env.NODE_ENV),
}),
// See https://github.com/graphql/graphql-language-service/issues/111#issuecomment-306723400
Expand Down

0 comments on commit 9d065e7

Please sign in to comment.