Skip to content

Commit

Permalink
fix exported functions
Browse files Browse the repository at this point in the history
  • Loading branch information
kraklin committed Aug 4, 2023
1 parent 071eba9 commit 78e539f
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 25 deletions.
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nodejs 16.13.0
nodejs 20.5.0
2 changes: 1 addition & 1 deletion elm-app/.tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nodejs 16.13.0
nodejs 20.5.0
13 changes: 0 additions & 13 deletions elm-app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion elm-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "1.0.0",
"private": true,
"scripts": {
"start": "cd ../ && npm run build && cd elm-app && vite"
"start": "vite"
},
"devDependencies": {
"elm-tooling": "^1.14.0",
Expand Down
4 changes: 2 additions & 2 deletions elm-app/src/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Elm } from './Main.elm';
import * as ElmDebugger from '../../dist/index.mjs';
//import * as ElmDebugger from 'elm-debug-transformer';
//import * as ElmDebugger from '../../dist/index.mjs';
import * as ElmDebugger from 'elm-debug-transformer';

console.log(ElmDebugger);
ElmDebugger.register({simple_mode: false, debug: true, limit: 10000});
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"name": "elm-debug-transformer",
"version": "1.2.0",
"description": "Transform Elm Debug.log output into nice log object with custom formatter",
"main": "./dist/main.js",
"author": "Tomas Latal <[email protected]>",
"repository": "https://github.com/kraklin/elm-debug-transformer",
"keywords": [
Expand All @@ -12,14 +11,15 @@
"parser",
"formatter"
],
"main": "./dist/index.js",
"exports": {
".": {
"import": "./dist/main.mjs",
"require": "./dist/main.js"
"import": "./dist/index.mjs",
"require": "./dist/index.js"
}
},
"module": "./dist/main.mjs",
"typings": "./dist/main.d.ts",
"module": "./dist/index.mjs",
"typings": "./dist/index.d.ts",
"files": [
"dist"
],
Expand Down

0 comments on commit 78e539f

Please sign in to comment.