mirror of
https://github.com/facebook/react.git
synced 2026-02-25 21:24:59 +00:00
* Move build/packages/* to build/node_modules/* This fixes Node resolution in that folder and lets us require() packages in it in Node shell for manual testing. * Link fixtures to packages/node_modules This updates the location and also uses link: instead of file: to avoid Yarn caching the folder contents.
12 lines
192 B
JavaScript
12 lines
192 B
JavaScript
var path = require('path');
|
|
|
|
module.exports = {
|
|
entry: './input',
|
|
output: {
|
|
filename: 'output.js',
|
|
},
|
|
resolve: {
|
|
root: path.resolve('../../../../build/node_modules/'),
|
|
},
|
|
};
|