fix: use import assertion

This commit is contained in:
syuilo 2022-03-01 00:40:53 +09:00
parent a8e8b2e2cf
commit 8dcdbddbfb
4 changed files with 6 additions and 3 deletions

View File

@ -1 +1 @@
v16.13.2
v16.14.0

View File

@ -12,6 +12,9 @@ You should also include the user name that made the change.
## 12.x.x (unreleased)
### NOTE
このバージョンからNode v16.14.0以降が必要です
### Changes
- ートの最大文字数を設定できる機能が廃止され、デフォルトで一律3000文字になりました

View File

@ -1,4 +1,4 @@
FROM node:16.13.2-alpine3.15 AS base
FROM node:16.14.0-alpine3.15 AS base
ENV NODE_ENV=production

View File

@ -1,5 +1,5 @@
import Koa from 'koa';
import * as manifest from './manifest.json';
import * as manifest from './manifest.json' assert { type: 'json' };
import { fetchMeta } from '@/misc/fetch-meta.js';
export const manifestHandler = async (ctx: Koa.Context) => {