Skip to content

Commit

Permalink
fix: build not file error (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
kunyan authored Dec 14, 2020
1 parent 2c10ba2 commit dc09c74
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "log2splunk",
"version": "0.0.3",
"version": "0.0.4",
"description": "Log to Splunk",
"main": "./dist/index.js",
"types": "./@types/index.d.ts",
Expand Down
4 changes: 3 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import got, { Response, HTTPSOptions, ExtendOptions } from 'got';
import { v4 as uuidv4 } from 'uuid';
import pkgJSON from '../package.json';

// eslint-disable-next-line
const pkgJSON = require('../package.json');

export interface ILog2SplunkOptions {
token?: string;
Expand Down

0 comments on commit dc09c74

Please sign in to comment.