mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 15:04:11 -05:00
Loading assets and add .gitignore and yarn.lock
This commit is contained in:
parent
f7c5e19081
commit
4db5a80ba3
4 changed files with 3542 additions and 1 deletions
5
.gitignore
vendored
Normal file
5
.gitignore
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
node_modules/
|
||||
.cache/
|
||||
dist/
|
||||
deno
|
||||
assets.go
|
1
main.go
1
main.go
|
@ -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 (
|
||||
|
|
2
main.ts
2
main.ts
|
@ -1,4 +1,4 @@
|
|||
import * as ts from "typescript";
|
||||
|
||||
|
||||
V8Worker2.print("Hello World", ts.createProgram);
|
||||
V8Worker2.print("Hello World");
|
||||
|
|
Loading…
Reference in a new issue