Skip to content

Commit

Permalink
docs: example dump file error (#256)
Browse files Browse the repository at this point in the history
Co-authored-by: poyoho <panyoho@gamil.com>
  • Loading branch information
poyoho and poyoho authored Aug 19, 2023
1 parent 427705b commit 962192c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ fs.readFile( 'app.source.js', function ( err, result ) {
});

fs.writeFileSync( 'app.js', transpiled );
fs.writeFileSync( 'app.js.map', map );
fs.writeFileSync( 'app.js.map', JSON.stringify(map) );

fs.writeFileSync( 'app.inlinemap.js', transpiled + '\n//#sourceMappingURL=' + map.toUrl() );
});

0 comments on commit 962192c

Please sign in to comment.