config.js — react Source File
Architecture documentation for config.js, a javascript file in the react codebase.
Entity Profile
Source Code
var path = require('path');
var webpack = require('webpack');
module.exports = {
entry: './input',
output: {
filename: 'output.js',
},
resolve: {
root: path.resolve('../../../../build/oss-experimental/'),
},
plugins: [
new webpack.DefinePlugin({
'process.env': {
NODE_ENV: JSON.stringify('production'),
},
}),
],
};
Source
Frequently Asked Questions
What does config.js do?
config.js is a source file in the react codebase, written in javascript.
Where is config.js in the architecture?
config.js is located at fixtures/packaging/webpack/prod/config.js (directory: fixtures/packaging/webpack/prod).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free