Skip to content

Commit

Permalink
fixed sandbox submit
Browse files Browse the repository at this point in the history
  • Loading branch information
leoggonzalez committed Mar 27, 2022
1 parent c2844f9 commit fa51b49
Show file tree
Hide file tree
Showing 4 changed files with 1,864 additions and 10 deletions.
14 changes: 14 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"presets": [
"@babel/preset-env",
"@babel/preset-react",
"@babel/preset-flow"
],
"plugins": [
"@babel/plugin-proposal-class-properties",
"babel-plugin-inline-json-import",
["@babel/plugin-transform-runtime", {
"regenerator": true
}]
]
}
12 changes: 12 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,22 @@
"react-dom": "^17.0.1"
},
"devDependencies": {
"@babel/core": "^7.0.0-0",
"@babel/plugin-proposal-class-properties": "^7.16.7",
"@babel/plugin-transform-runtime": "^7.17.0",
"@babel/preset-env": "^7.16.11",
"@babel/preset-flow": "^7.16.7",
"@babel/preset-react": "^7.16.7",
"@types/jest": "^27.0.3",
"@types/react": "^17.0.37",
"@typescript-eslint/eslint-plugin": "^5.6.0",
"@typescript-eslint/parser": "^5.6.0",
"babel-core": "^6.26.3",
"babel-loader": "^8.2.4",
"babel-plugin-inline-json-import": "^0.3.2",
"babel-polyfill": "^6.26.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"esbuild": "^0.14.2",
"eslint": "^8.4.1",
"eslint-config-prettier": "^8.3.0",
Expand Down
7 changes: 7 additions & 0 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,14 @@ import pkg from './package.json';
export default {
input: './src/index.ts',
external: ['react'],
runtimeHelpers: true,
plugins: [
[
'@babel/plugin-transform-runtime',
{
regenerator: true,
},
],
cleaner({
targets: ['./dist/'],
}),
Expand Down
Loading

0 comments on commit fa51b49

Please sign in to comment.