Skip to content

Optimize build #550

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

Merged
merged 5 commits into from
Nov 28, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
remove moment
Signed-off-by: shmck <shawn.j.mckay@gmail.com>
  • Loading branch information
ShMcK committed Nov 27, 2021
commit 844aa04253e1ee21216d8ce301b0eaabeea5375d
2 changes: 1 addition & 1 deletion web-app/config-overrides.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module.exports = function override(config) {

// load @alifd/next component css
addBabelPlugin([
'babel-plugin-import',
'import',
{
libraryName: '@alifd/next',
style: true,
Expand Down
4 changes: 3 additions & 1 deletion web-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "0.17.0",
"private": true,
"scripts": {
"analyze": "source-map-explorer 'build/static/js/*.js'",
"build": "react-app-rewired build",
"build-storybook": "build-storybook",
"start": "react-app-rewired start",
Expand Down Expand Up @@ -34,7 +35,6 @@
"js-yaml": "4.1.0",
"markdown-it": "12.2.0",
"markdown-it-emoji": "2.0.0",
"moment": "2.29.1",
"prismjs": "1.25.0",
"react": "16.13.1",
"react-addons-css-transition-group": "15.6.2",
Expand Down Expand Up @@ -63,13 +63,15 @@
"@types/react-dom": "16.9.8",
"babel-loader": "8.2.2",
"babel-plugin-import": "1.13.3",
"compression-webpack-plugin": "9.0.1",
"customize-cra": "1.0.0",
"mini-css-extract-plugin": "0.11.2",
"node-sass": "6.0.1",
"prettier": "2.4.1",
"react-app-rewired": "2.1.8",
"react-scripts": "4.0.3",
"sass-loader": "12.3.0",
"source-map-explorer": "2.5.2",
"typescript": "4.4.4"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,6 @@ const Summary = (props: Props) => (
</div>
<Markdown>{`# ${props.tutorial.summary.title}`}</Markdown>
<Markdown>{`### ${props.tutorial.summary.description}`}</Markdown>
{/* <h5 css={styles.meta}>
<div css={{ marginRight: '2rem' }}>Created by {props.createdBy.name}</div>
<div>Last updated {moment(props.updatedAt).format('M/YYYY')}</div>
</h5> */}
</div>
<div>
<div css={styles.levelList}>
Expand Down
Loading