jsx-parser
jsx-parser copied to clipboard
Fixed issue #4, My fork now uses CommonJS for everything
I fixed issue #4 by changing the last line of the index.js file to use 'module.exports' instead of 'export default'. I also explicitly set the type property in the package.json to 'commonjs' just in case. This will make the package work for all NodeJS versions and without errors