Remove babel dependency

Change-type: patch
This commit is contained in:
Alexis Svinartchouk 2020-01-16 02:19:58 +01:00
parent d41ce65a78
commit fbbd7ccf49
5 changed files with 4 additions and 989 deletions

View File

@ -91,6 +91,7 @@
color: white;
height: 320px;
width: 100vw;
left: 0;
> * {
display: flex;

View File

@ -6446,7 +6446,8 @@ img[disabled] {
bottom: 0;
color: white;
height: 320px;
width: 100vw; }
width: 100vw;
left: 0; }
.page-finish .fallback-banner > * {
display: flex;
justify-content: center;

967
npm-shrinkwrap.json generated

File diff suppressed because it is too large Load Diff

View File

@ -89,10 +89,6 @@
"uuid": "^3.0.1"
},
"devDependencies": {
"@babel/core": "^7.6.0",
"@babel/plugin-proposal-function-bind": "^7.2.0",
"@babel/preset-env": "^7.6.0",
"@babel/preset-react": "^7.0.0",
"@types/bindings": "^1.3.0",
"@types/chai": "^4.2.7",
"@types/mime-types": "^2.1.0",
@ -105,7 +101,6 @@
"@types/sinon": "^7.5.1",
"@types/tmp": "^0.1.0",
"@types/webpack-node-externals": "^1.7.0",
"babel-loader": "^8.0.4",
"chai": "^4.2.0",
"chalk": "^1.1.3",
"electron": "6.1.4",

View File

@ -43,21 +43,6 @@ const commonConfig = {
},
module: {
rules: [
{
test: /\.jsx?$/,
include: [path.resolve(__dirname, 'lib', 'gui')],
use: {
loader: 'babel-loader',
options: {
presets: [
'@babel/preset-react',
['@babel/preset-env', { targets: { electron: '6' } }],
],
plugins: ['@babel/plugin-proposal-function-bind'],
cacheDirectory: true,
},
},
},
{
test: /\.html$/,
use: 'html-loader',
@ -69,7 +54,7 @@ const commonConfig = {
],
},
resolve: {
extensions: ['.js', '.jsx', '.json', '.ts', '.tsx'],
extensions: ['.json', '.ts', '.tsx'],
},
plugins: [
new SimpleProgressWebpackPlugin({