Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 25 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,27 @@
{
"presets": ["stage-1", "es2015", "react"]
"presets": [
[
"env",
{
"modules": false,
"loose": true
}
],
"stage-1",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why we need stage-1?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can use stage-2 if you prefer! It was just out of habit :)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Personally I prefer stage-3 or stage-4 as they are more stable, but It depends

"react"
],
"env": {
"test": {
"presets": [
[
"env",
{
"loose": true
}
],
"stage-1",
"react"
]
}
}
}
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,5 @@ node_modules

run-browserstack-tests.sh

bundle.js
bundle.js
dist
8 changes: 0 additions & 8 deletions index.js

This file was deleted.

98 changes: 0 additions & 98 deletions lib/CoreExperiment.js

This file was deleted.

103 changes: 0 additions & 103 deletions lib/Experiment.js

This file was deleted.

30 changes: 0 additions & 30 deletions lib/Variant.js

This file was deleted.

Loading