mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-12-24 04:12:09 +03:00
Use import for package.json file.
This commit is contained in:
parent
483b850b6e
commit
7f0aeeb234
@ -1,5 +1,5 @@
|
||||
const { Elm } = require("./Main.elm");
|
||||
const { version } = require("../../package.json");
|
||||
import { version } from "../../package.json";
|
||||
import * as fs from "fs";
|
||||
import * as glob from "glob";
|
||||
|
||||
|
12
generator/tsconfig.json
Normal file
12
generator/tsconfig.json
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"types": ["node"],
|
||||
"module": "commonjs",
|
||||
"target": "es5",
|
||||
"strict": true,
|
||||
"sourceMap": false,
|
||||
"resolveJsonModule": true,
|
||||
"lib": ["es2015", "es2017.object"]
|
||||
},
|
||||
"exclude": ["node_modules", "generated"]
|
||||
}
|
@ -5,6 +5,7 @@
|
||||
"target": "es5",
|
||||
"strict": true,
|
||||
"sourceMap": false,
|
||||
"resolveJsonModule": true,
|
||||
"lib": ["es2015", "es2017.object"]
|
||||
},
|
||||
"exclude": ["node_modules", "generated"]
|
||||
|
Loading…
Reference in New Issue
Block a user