]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
test(explorations): export code to es3 to test on ie
authorEduardo San Martin Morote <posva13@gmail.com>
Fri, 5 Jul 2019 13:22:51 +0000 (15:22 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Fri, 5 Jul 2019 13:22:51 +0000 (15:22 +0200)
explorations/html5.html
explorations/tsconfig.json

index 0ee86547339ef8e2b9d5184264cd66a4ea6ae21f..00b19163f83f6aeefdbedcdad6b1bb58df41cbae 100644 (file)
@@ -5,6 +5,7 @@
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
     <meta http-equiv="X-UA-Compatible" content="ie=edge" />
     <title>Testing History HTML5</title>
+    <script src="https://polyfill.io/v3/polyfill.min.js?features=default%2Ces2015"></script>
   </head>
   <body>
     <div id="app">
index fa8b346e2c04abad922cb013713e21e77331b81d..0a690fa2e6544690736ffc841ec5c8da10e33c91 100644 (file)
@@ -1,7 +1,7 @@
 {
   "include": ["./**/*.ts"],
   "compilerOptions": {
-    "target": "esnext" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */,
+    "target": "es3" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */,
     "module": "commonjs" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */,
     // "lib": ["es2017.object"] /* Specify library files to be included in the compilation. */,
     // "declaration": true /* Generates corresponding '.d.ts' file. */,