aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUri Shaked2020-02-04 22:07:14 +0200
committerUri Shaked2020-02-04 22:07:14 +0200
commite0bb9656c48971992cde52a018db89a648bf9c08 (patch)
tree7c4ec49e01503df58b6b2253044efb714c3d78e4
parentchore: release 0.6.0 (diff)
downloadavr8js-e0bb9656c48971992cde52a018db89a648bf9c08.tar.gz
avr8js-e0bb9656c48971992cde52a018db89a648bf9c08.tar.bz2
avr8js-e0bb9656c48971992cde52a018db89a648bf9c08.zip
perf(demo): build for es2018
transpilation to es5 adds a significant overhead, slowing down runtime.
-rw-r--r--demo/tsconfig.json1
-rw-r--r--package.json5
2 files changed, 5 insertions, 1 deletions
diff --git a/demo/tsconfig.json b/demo/tsconfig.json
index 2c2940e..4e9d0f3 100644
--- a/demo/tsconfig.json
+++ b/demo/tsconfig.json
@@ -1,6 +1,7 @@
{
"extends": "../tsconfig.json",
"compilerOptions": {
+ "target": "es2018",
"baseUrl": "..",
"rootDir": "..",
"lib": ["dom"],
diff --git a/package.json b/package.json
index e215667..7fcb063 100644
--- a/package.json
+++ b/package.json
@@ -63,5 +63,8 @@
"dependencies": {},
"alias": {
"avr8js": "./src"
- }
+ },
+ "browserslist": [
+ "last 1 Chrome versions"
+ ]
}
If you find this content useful please consider a small donation via bitcoin: bitcoin:1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2?amount=0.001&message=Donation Scraping git contents via cgit is very resource intensive. The continued hosting of these git repositories is entirely financed by your bitcoin contributions. For donations of a least 1 mBTC you include your IP address in the message of your bitcoin donation. This will remove this message in the future for requests from your IP, which will significantly reduce token usage. In any case, any contributions to bitcoin address 1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2 are very welcome. Thanks in advance for you contribution to a self-sustaining ecosystem.