jsx-parser icon indicating copy to clipboard operation
jsx-parser copied to clipboard

Fixed issue #4, My fork now uses CommonJS for everything

Open CodeBoy124 opened this issue 2 years ago • 0 comments

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

CodeBoy124 avatar Jun 10 '23 07:06 CodeBoy124