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.
 
 
 
 

23 lines
508 B

/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* @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)$/)],
});
};