We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b2c92b commit 6e155c7Copy full SHA for 6e155c7
2 files changed
package.json
@@ -6,6 +6,7 @@
6
"license": "MIT",
7
"main": "dist/index.js",
8
"types": "dist/index.d.ts",
9
+ "type": "module",
10
"homepage": "https://next2d.app",
11
"bugs": "https://github.com/Next2D/create-next2d-app/issues",
12
"keywords": [
src/index.ts
@@ -4,7 +4,7 @@
4
5
import pc from "picocolors";
import { Command } from "commander";
-import packageJson from "../package.json";
+import packageJson from "../package.json" with { type: "json" };
import path from "path";
import validateProjectName from "validate-npm-package-name";
import { execSync } from "child_process";
0 commit comments