mirror of
https://github.com/facebook/react.git
synced 2026-02-23 20:23:02 +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.
16 lines
317 B
JavaScript
16 lines
317 B
JavaScript
var path = require('path');
|
|
|
|
module.exports = {
|
|
entry: './input',
|
|
output: {
|
|
filename: 'output.js',
|
|
},
|
|
resolve: {
|
|
root: path.resolve('../../../../build/oss-experimental'),
|
|
alias: {
|
|
react: 'react/umd/react.development',
|
|
'react-dom': 'react-dom/umd/react-dom.development',
|
|
},
|
|
},
|
|
};
|