mirror of
https://github.com/facebook/react.git
synced 2026-02-21 19:31:52 +00:00
It's confusing to new contributors, and me, that you're supposed to use `yarn build-combined` for almost everything but not fixtures. We should use only one build command for everything. Updated fixtures to use the folder convention of build-combined.
20 lines
367 B
JavaScript
20 lines
367 B
JavaScript
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'),
|
|
},
|
|
}),
|
|
],
|
|
};
|