Skip to content

Commit 3ec0a58

Browse files
committed
Update webpack, update dependent modules, get dev and prod builds working
1 parent ef6393b commit 3ec0a58

File tree

7 files changed

+48329
-49386
lines changed

7 files changed

+48329
-49386
lines changed

.babelrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@
8787
"@babel/plugin-proposal-nullish-coalescing-operator",
8888
"@babel/plugin-proposal-do-expressions",
8989
"@babel/plugin-proposal-function-bind",
90-
["@babel/plugin-proposal-private-methods", { "loose": true }]
90+
["@babel/plugin-proposal-private-methods", { "loose": true }],
91+
["@babel/plugin-proposal-private-property-in-object", { "loose": true }]
9192
]
9293
}

client/modules/IDE/components/Console.jsx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,6 @@ import { useDidUpdate } from '../hooks/custom-hooks';
3737
import useHandleMessageEvent from '../hooks/useHandleMessageEvent';
3838
import { listen } from '../../../utils/dispatcher';
3939

40-
const CONSOLE_FEED_WITHOUT_ICONS = {
41-
LOG_WARN_ICON: 'none',
42-
LOG_ERROR_ICON: 'none',
43-
LOG_DEBUG_ICON: 'none',
44-
LOG_INFO_ICON: 'none'
45-
};
46-
4740
const CONSOLE_FEED_LIGHT_STYLES = {
4841
BASE_BACKGROUND_COLOR: '',
4942
LOG_ERROR_BACKGROUND: 'hsl(0, 100%, 97%)',

client/modules/IDE/components/ShareModal.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ import PropTypes from 'prop-types';
22
import React from 'react';
33
import { withTranslation } from 'react-i18next';
44
import CopyableInput from './CopyableInput';
5-
import getConfig from '../../../utils/getConfig';
5+
// import getConfig from '../../../utils/getConfig';
66

77
class ShareModal extends React.PureComponent {
88
render() {
99
const { projectId, ownerUsername, projectName } = this.props;
1010
const hostname = window.location.origin;
11-
const previewUrl = getConfig('PREVIEW_URL');
11+
// const previewUrl = getConfig('PREVIEW_URL');
1212
return (
1313
<div className="share-modal">
1414
<h3 className="share-modal__project-name">{projectName}</h3>

0 commit comments

Comments
 (0)