File tree 2 files changed +2
-1
lines changed 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 38
38
"build:esm:rename:map" : " find ./lib -type f -name '*.js.map' | sed -E 's/^(.+)\\ .js\\ .map$/\\ 1/' | xargs -I % mv %.js.map %.mjs.map" ,
39
39
"clean" : " rm -rf cjs esm lib build temp .cache" ,
40
40
"prepublishOnly" : " run-s test build" ,
41
+ "prepare" : " run-s build" ,
41
42
"start" : " npm run clean && npm run build:esm -- --watch" ,
42
43
"test" : " jest" ,
43
44
"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(
9
9
ts . factory . createConditionalExpression (
10
10
ts . factory . createBinaryExpression (
11
11
ts . factory . createTypeOfExpression (
12
- ts . factory . createStringLiteral ( '__webpack_require__' ) ,
12
+ ts . factory . createIdentifier ( '__webpack_require__' ) ,
13
13
) ,
14
14
ts . SyntaxKind . ExclamationEqualsEqualsToken ,
15
15
ts . factory . createStringLiteral ( 'undefined' ) ,
You can’t perform that action at this time.
0 commit comments