UNPKG

react-component-isolator

Version:

A simple module that spins up a react app where the only component is the react component you pass in.

7 lines (5 loc) 167 B
const path = require('path'); module.exports = (config) => { config.entry[2] = path.join(__dirname, 'src/_isolator_generated_files_/index.js'); return config; };