Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Feb 19, 2019
1 parent 3c4238d commit ed176bf
Show file tree
Hide file tree
Showing 8 changed files with 43 additions and 3 deletions.
5 changes: 5 additions & 0 deletions inputs/issue-219/.babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"plugins": [
"@babel/plugin-proposal-export-default-from"
]
}
5 changes: 5 additions & 0 deletions inputs/issue-226/.babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"plugins": [
"@babel/plugin-proposal-export-namespace-from"
]
}
15 changes: 15 additions & 0 deletions inputs/issue-226/.swcrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"jsc": {
"parser": {
"syntax": "ecmascript",
"dynamicImport": true,
"classProperty": true,
"exportDefaultFrom": true,
"exportNamespaceFrom": true,
"jsx": true
}
},
"module": {
"type": "commonjs"
}
}
1 change: 1 addition & 0 deletions inputs/issue-226/input.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * as Foo from 'bar';
7 changes: 7 additions & 0 deletions inputs/issue-236/.swcrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"jsc": {
"parser": {
"syntax": "typescript"
}
}
}
5 changes: 5 additions & 0 deletions inputs/issue-236/input.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export function DirectiveIserviceIdPrefixController(this: any, $scope: angular.IScope, $attrs: angular.IAttributes)
{
this.$scope = $scope;
this.$attrs = $attrs;
}
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,16 @@
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.2.2",
"@babel/plugin-proposal-export-default-from": "^7.2.0",
"@babel/plugin-proposal-export-namespace-from": "^7.2.0",
"@babel/plugin-transform-classes": "^7.2.2",
"@babel/plugin-transform-modules-commonjs": "^7.2.0",
"@swc/cli": "^0.1.12",
"@swc/core": "^1.0.14"
"@swc/core": "^1.0.19"
},
"dependencies": {
"react": "^16.8.2",
"react-dom": "^16.8.2",
"sourcemap-validator": "^1.1.0"
}
}
2 changes: 0 additions & 2 deletions scripts/all.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/bin/bash

set -e

npx swc inputs -d out
npx babel inputs -d out-babel

0 comments on commit ed176bf

Please sign in to comment.