Skip to content

Commit

Permalink
Merge pull request #1147 from serlo/patch
Browse files Browse the repository at this point in the history
fix(server): Add missing `type: module`
  • Loading branch information
hugotiburtino authored Nov 29, 2023
2 parents f12b8a5 + 120a790 commit 04606b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@
"main": "dist/index.js",
"module": "dist/authorization.esm.js",
"typings": "dist/index.d.ts",
"type": "module",
"scripts": {
"_build": "tsdx build --transpileOnly --tsconfig tsconfig.prod.json",
"build:server": "yarn _build --format cjs --target node --entry src/server.ts",
"build:swr-queue-worker": "yarn _build --format cjs --target node --entry src/swr-queue-worker.ts",
"codegen": "graphql-codegen --config codegen.yml",
"deploy:image": "NODE_OPTIONS='--experimental-specifier-resolution=node' ts-node-esm scripts/deploy.ts",
"deploy:image": "ts-node --experimental-specifier-resolution=node scripts/deploy",
"prestart": "lerna run build",
"start": "tsdx watch --transpileOnly --format cjs --target node --entry src/server.ts --tsconfig tsconfig.prod.json --onSuccess \"node dist\"",
"start:swr-queue-worker": "tsdx watch --transpileOnly --format cjs --target node --entry src/swr-queue-worker.ts --tsconfig tsconfig.prod.json --onSuccess \"node dist\""
Expand Down

0 comments on commit 04606b4

Please sign in to comment.