Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
56e5d0c
commit 8a27df1
Showing
24 changed files
with
171 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 3 additions & 4 deletions
7
...el-core/test/fixtures/transformation/source-maps/input-source-map-complex/source-map.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,15 @@ | ||
{ | ||
"version": 3, | ||
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAsFA;EACAA;EACAC;IACA;MACAC;IACA;EACA;AACA", | ||
"names": [ | ||
"name", | ||
"data", | ||
"msg" | ||
], | ||
"sourceRoot": "src/components", | ||
"sources": [ | ||
"HelloWorld.vue" | ||
"src/components/HelloWorld.vue" | ||
], | ||
"sourcesContent": [ | ||
"<template>\n <div class=\"hello\">\n <h1>{{ msg }}</h1>\n <h2>Essential Links</h2>\n <ul>\n <li>\n <a\n href=\"https://vuejs.org\"\n target=\"_blank\"\n >\n Core Docs\n </a>\n </li>\n <li>\n <a\n href=\"https://forum.vuejs.org\"\n target=\"_blank\"\n >\n Forum\n </a>\n </li>\n <li>\n <a\n href=\"https://chat.vuejs.org\"\n target=\"_blank\"\n >\n Community Chat\n </a>\n </li>\n <li>\n <a\n href=\"https://twitter.com/vuejs\"\n target=\"_blank\"\n >\n Twitter\n </a>\n </li>\n <br>\n <li>\n <a\n href=\"http://vuejs-templates.github.io/webpack/\"\n target=\"_blank\"\n >\n Docs for This Template\n </a>\n </li>\n </ul>\n <h2>Ecosystem</h2>\n <ul>\n <li>\n <a\n href=\"http://router.vuejs.org/\"\n target=\"_blank\"\n >\n vue-router\n </a>\n </li>\n <li>\n <a\n href=\"http://vuex.vuejs.org/\"\n target=\"_blank\"\n >\n vuex\n </a>\n </li>\n <li>\n <a\n href=\"http://vue-loader.vuejs.org/\"\n target=\"_blank\"\n >\n vue-loader\n </a>\n </li>\n <li>\n <a\n href=\"https://github.com/vuejs/awesome-vue\"\n target=\"_blank\"\n >\n awesome-vue\n </a>\n </li>\n </ul>\n </div>\n</template>\n\n<script>\nexport default {\n name: 'HelloWorld',\n data () {\n return {\n msg: 'Welcome to Your Vue.js App'\n }\n }\n}\n</script>\n\n<!-- Add \"scoped\" attribute to limit CSS to this component only -->\n<style scoped>\nh1, h2 {\n font-weight: normal;\n}\nul {\n list-style-type: none;\n padding: 0;\n}\nli {\n display: inline-block;\n margin: 0 10px;\n}\na {\n color: #42b983;\n}\n</style>\n" | ||
] | ||
], | ||
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAsFA;EACAA,IAAA;EACAC,KAAA;IACA;MACAC,GAAA;IACA;EACA;AACA,G" | ||
} |
8 changes: 5 additions & 3 deletions
8
...l-core/test/fixtures/transformation/source-maps/input-source-map-external/source-map.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
{ | ||
"version": 3, | ||
"mappings": "AAAA,UAAU,Y;SAAM,C;CAAC", | ||
"names": [], | ||
"names": [ | ||
"foo" | ||
], | ||
"sources": [ | ||
"original.js" | ||
], | ||
"sourcesContent": [ | ||
"var foo = () => 4;" | ||
] | ||
], | ||
"mappings": "AAAA,IAAAA,GAAA,GAAU,SAAAA,CAAA,E;SAAM,C;CAAC" | ||
} |
8 changes: 6 additions & 2 deletions
8
...ion/source-maps/input-source-map-multiple-output-sources-complete-replace/source-map.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,17 @@ | ||
{ | ||
"version": 3, | ||
"mappings": "AAAC,KAAG;ACAJ,KAAG", | ||
"names": [], | ||
"sources": [ | ||
"input.tsx", | ||
"source-maps/input-source-map-multiple-output-sources-complete-replace/input.js", | ||
"bar.js", | ||
"baz.js" | ||
], | ||
"sourcesContent": [ | ||
"foo(1);\nfunction foo(bar: number): never {\n throw new Error('Intentional.');\n}", | ||
"foo(1);\nfunction foo(bar) {\n throw new Error('Intentional.');\n}\n//# sourceMappingURL=input.js.map", | ||
"<bar />", | ||
"baz();" | ||
] | ||
], | ||
"mappings": "AAAA,KAAI;AAAJ,KAAG" | ||
} |
14 changes: 8 additions & 6 deletions
14
...tures/transformation/source-maps/input-source-map-multiple-output-sources/source-map.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,19 @@ | ||
{ | ||
"version": 3, | ||
"mappings": "AAAC,KAAG;ACCJ,SAASA,GAAG,CAACC,GAAW;EACpB,MAAM,IAAIC,KAAK,CAAC,cAAc,CAAC;AACnC", | ||
"names": [ | ||
"foo", | ||
"bar", | ||
"Error" | ||
], | ||
"sources": [ | ||
"test.js", | ||
"input.tsx" | ||
"input.tsx", | ||
"source-maps/input-source-map-multiple-output-sources/input.js", | ||
"test.js" | ||
], | ||
"sourcesContent": [ | ||
"<bar />", | ||
"foo(1);\nfunction foo(bar: number): never {\n throw new Error('Intentional.');\n}" | ||
] | ||
"foo(1);\nfunction foo(bar: number): never {\n throw new Error('Intentional.');\n}", | ||
"foo(1);\nfunction foo(bar) {\n throw new Error('Intentional.');\n}\n//# sourceMappingURL=input.js.map", | ||
"<bar />" | ||
], | ||
"mappings": "AAAA,KAAI;AACJ,SAASA,GAAGA,CAACC,GAAW;EACpB,MAAM,IAAIC,KAAK,CAAC,cAAc,CAAC;AACnC" | ||
} |
8 changes: 5 additions & 3 deletions
8
...e/test/fixtures/transformation/source-maps/input-source-map-same-location/source-map.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
{ | ||
"version": 3, | ||
"mappings": "AAAA,UAAU,Y;SAAM,C;CAAC", | ||
"names": [], | ||
"names": [ | ||
"foo" | ||
], | ||
"sources": [ | ||
"source-maps/input-source-map-same-location/input.js" | ||
], | ||
"sourcesContent": [ | ||
"var foo = () => 4;" | ||
] | ||
], | ||
"mappings": "AAAA,IAAAA,GAAA,GAAU,SAAAA,CAAA,E;SAAM,C;CAAC" | ||
} |
8 changes: 6 additions & 2 deletions
8
...ures/transformation/source-maps/input-source-map-sources-complete-replace/source-map.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,15 @@ | ||
{ | ||
"version": 3, | ||
"mappings": "AAAC,KAAG", | ||
"names": [], | ||
"sources": [ | ||
"input.tsx", | ||
"source-maps/input-source-map-sources-complete-replace/input.js", | ||
"test.js" | ||
], | ||
"sourcesContent": [ | ||
"foo(1);\nfunction foo(bar: number): never {\n throw new Error('Intentional.');\n}", | ||
"foo(1);\nfunction foo(bar) {\n throw new Error('Intentional.');\n}\n//# sourceMappingURL=input.js.map", | ||
"<bar />" | ||
] | ||
], | ||
"mappings": "AAAA,KAAI" | ||
} |
8 changes: 5 additions & 3 deletions
8
...ages/babel-core/test/fixtures/transformation/source-maps/input-source-map/source-map.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
{ | ||
"version": 3, | ||
"mappings": "AAAA,UAAU,Y;SAAM,C;CAAC", | ||
"names": [], | ||
"names": [ | ||
"foo" | ||
], | ||
"sources": [ | ||
"original.js" | ||
], | ||
"sourcesContent": [ | ||
"var foo = () => 4;" | ||
] | ||
], | ||
"mappings": "AAAA,IAAAA,GAAA,GAAU,SAAAA,CAAA,E;SAAM,C;CAAC" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.