Skip to content

Commit

Permalink
Loading assets and add .gitignore and yarn.lock
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed May 14, 2018
1 parent f7c5e19 commit 4db5a80
Show file tree
Hide file tree
Showing 4 changed files with 3,542 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
node_modules/
.cache/
dist/
deno
assets.go
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// To test: make && ./out/render test_input.js
package main

//go:generate ./node_modules/.bin/parcel build --out-dir=dist/ --no-minify main.ts
//go:generate go-bindata -pkg $GOPACKAGE -o assets.go dist/

import (
Expand Down
2 changes: 1 addition & 1 deletion main.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as ts from "typescript";


V8Worker2.print("Hello World", ts.createProgram);
V8Worker2.print("Hello World");
Loading

0 comments on commit 4db5a80

Please sign in to comment.