Skip to content

Commit

Permalink
Add lazyload.js output
Browse files Browse the repository at this point in the history
  • Loading branch information
bernardodiasc committed Apr 30, 2020
1 parent dd5fb29 commit c2d18a3
Show file tree
Hide file tree
Showing 17 changed files with 97 additions and 30 deletions.
14 changes: 7 additions & 7 deletions lib/all.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/all.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions lib/editor.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/editor.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/fonts.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/fonts.js.map

Large diffs are not rendered by default.

23 changes: 23 additions & 0 deletions lib/lazyload.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions lib/lazyload.js.map

Large diffs are not rendered by default.

12 changes: 3 additions & 9 deletions lib/registration.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/registration.js.map

Large diffs are not rendered by default.

23 changes: 23 additions & 0 deletions lib/registrationssr.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions lib/registrationssr.js.map

Large diffs are not rendered by default.

19 changes: 19 additions & 0 deletions lib/selectors.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions lib/selectors.js.map

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions src/registration-ssr.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import CustomSelector from './components/ui/CustomSelector'
import SkillsSelector from './components/ui/SkillsSelector'
import TextareaEditor from './components/ui/TextareaEditor/TextareaEditor'
import Timeframe from './components/ui/Timeframe'

export {
CustomSelector,
SkillsSelector,
TextareaEditor,
Timeframe
}
6 changes: 0 additions & 6 deletions src/registration.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import AttachFiles from './components/ui/AttachFiles'
import Button from './components/ui/Button'
import PreviousJobApplications from './components/ui/PreviousJobApplications'
import ConfirmationBox from './components/ui/ConfirmationBox'
import CustomSelector from './components/ui/CustomSelector'
import EmptyState from './components/ui/EmptyState'
import ErrorBox from './components/ui/ErrorBox'
import Footer from './components/ui/Footer'
Expand All @@ -27,9 +26,7 @@ import LocateYourProfile from './components/ui/LocateYourProfile'
import Modal from './components/ui/Modal'
import RoadmapHero from './components/ui/RoadmapHero'
import SignupScreen from './components/ui/SignupScreen'
import SkillsSelector from './components/ui/SkillsSelector'
import Text from './components/ui/Text'
import Timeframe from './components/ui/Timeframe'
import TruncatedList from './components/ui/TruncatedList'
import WelcomeHero from './components/ui/WelcomeHero'

Expand All @@ -40,7 +37,6 @@ export {
Button,
PreviousJobApplications,
ConfirmationBox,
CustomSelector,
EmptyState,
ErrorBox,
Footer,
Expand All @@ -63,9 +59,7 @@ export {
Modal,
RoadmapHero,
SignupScreen,
SkillsSelector,
Text,
Timeframe,
TruncatedList,
WelcomeHero
}
2 changes: 1 addition & 1 deletion webpack.standalone.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ const base = require('./webpack.config')
module.exports = {
entry: {
all: './src/index.js',
editor: './src/components/ui/TextareaEditor/TextareaEditor',
fonts: './src/styles/fonts.js',
registration: './src/registration.js',
registrationssr: './src/registration-ssr.js',
},
devtool: 'source-maps',
mode: 'production',
Expand Down

0 comments on commit c2d18a3

Please sign in to comment.