File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 3838 "build:esm:rename:map" : " find ./lib -type f -name '*.js.map' | sed -E 's/^(.+)\\ .js\\ .map$/\\ 1/' | xargs -I % mv %.js.map %.mjs.map" ,
3939 "clean" : " rm -rf cjs esm lib build temp .cache" ,
4040 "prepublishOnly" : " run-s test build" ,
41+ "prepare" : " run-s build" ,
4142 "start" : " npm run clean && npm run build:esm -- --watch" ,
4243 "test" : " jest" ,
4344 "compare:babel" : " babel -o ./compare/output_babel.js ./compare/source.ts" ,
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ const REQUIRE_SYNC_BODY = ts.factory.createReturnStatement(
99 ts . factory . createConditionalExpression (
1010 ts . factory . createBinaryExpression (
1111 ts . factory . createTypeOfExpression (
12- ts . factory . createStringLiteral ( '__webpack_require__' ) ,
12+ ts . factory . createIdentifier ( '__webpack_require__' ) ,
1313 ) ,
1414 ts . SyntaxKind . ExclamationEqualsEqualsToken ,
1515 ts . factory . createStringLiteral ( 'undefined' ) ,
You can’t perform that action at this time.
0 commit comments