Skip to content

Commit

Permalink
fixed bug with double export for web
Browse files Browse the repository at this point in the history
  • Loading branch information
Phara0h committed Sep 12, 2023
1 parent a88f7e0 commit 2429319
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ var jsFile = `
`;

jsFile += web ? fs.readFileSync('node_modules/fasquest/dist/index.mjs', 'utf8') : fs.readFileSync('node_modules/fasquest/index.js', 'utf8');
jsFile.replace('var Fasquest_1=new Fasquest;export default Fasquest_1;', '');
jsFile = jsFile.replace('var Fasquest_1=new Fasquest;export default Fasquest_1;', '');
parentName = collection.info.name;
var parseHeader = function (body,header = [])
{
Expand Down

0 comments on commit 2429319

Please sign in to comment.