-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DEP Upgrade frontend build stack #481
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
10 | ||
18 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"presets": [ | ||
"@babel/preset-env", | ||
"@babel/preset-react" | ||
] | ||
} |
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
require('../legacy'); | ||
require('../boot/cms'); | ||
import '../legacy'; | ||
import '../boot/cms'; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import 'core-js/stable'; | ||
import 'regenerator-runtime/runtime'; | ||
|
||
require('es6-promise').polyfill(); | ||
require('isomorphic-fetch'); | ||
import 'es6-promise/auto'; | ||
import 'isomorphic-fetch'; | ||
|
||
require('boot'); | ||
import 'boot'; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
/* eslint-disable max-len */ | ||
import React from 'react'; | ||
|
||
export default ({ color = 'currentColor', size = '3em' }) => ( | ||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" height={size} width={size}> | ||
<g fill={color}> | ||
{/* eslint-ignore-line max-len */} | ||
<path d="M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z" /> | ||
</g> | ||
</svg> | ||
); | ||
/* eslint-enable max-len */ |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -291,16 +291,16 @@ class Register extends Component { | |
let content; | ||
|
||
switch (screen) { | ||
default: | ||
case SCREEN_INTRODUCTION: | ||
content = this.renderIntroduction(); | ||
break; | ||
case SCREEN_CHOOSE_METHOD: | ||
content = this.renderOptions(); | ||
break; | ||
case SCREEN_REGISTER_METHOD: | ||
content = this.renderMethod(); | ||
break; | ||
case SCREEN_INTRODUCTION: | ||
default: | ||
Comment on lines
+300
to
+301
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
content = this.renderIntroduction(); | ||
break; | ||
} | ||
|
||
return ( | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
require('./RegisteredMFAMethodListFieldEntwine'); | ||
require('./SiteConfig'); | ||
import './RegisteredMFAMethodListFieldEntwine'; | ||
import './SiteConfig'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This wasn't being picked up anymore