You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
502 B
24 lines
502 B
6 years ago
|
/**
|
||
|
* Copyright (c) 2013-present, Facebook, Inc.
|
||
|
*
|
||
|
* @emails react-core
|
||
|
*/
|
||
|
|
||
|
'use strict';
|
||
|
|
||
|
const {resolve} = require('path');
|
||
|
const webpack = require('webpack');
|
||
|
|
||
|
module.exports = ({stage, actions}) => {
|
||
|
actions.setWebpackConfig({
|
||
|
resolve: {
|
||
|
modules: [
|
||
|
resolve(__dirname, '../src'),
|
||
|
resolve(__dirname, '../node_modules'),
|
||
|
],
|
||
|
},
|
||
|
// See https://github.com/FormidableLabs/react-live/issues/5
|
||
|
plugins: [new webpack.IgnorePlugin(/^(xor|props)$/)],
|
||
|
});
|
||
|
};
|