diff --git a/frontend/babel.config.js b/frontend/babel.config.js index 17ff37649..fe855af63 100644 --- a/frontend/babel.config.js +++ b/frontend/babel.config.js @@ -15,12 +15,6 @@ module.exports = { '@babel/plugin-syntax-dynamic-import' ], env: { - test: { - presets: [ - ['@babel/preset-env', { loose, modules: 'commonjs' }], - ['@babel/preset-react'] - ] - }, development: { presets: [ ['@babel/preset-react', { development: true }] diff --git a/package.json b/package.json index 6aba7b378..439ef5fdc 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,6 @@ "babel-eslint": "10.0.1", "babel-loader": "8.0.5", "babel-plugin-inline-classnames": "2.0.1", - "babel-plugin-transform-react-jsx-source": "6.22.0", "babel-plugin-transform-react-remove-prop-types": "0.4.24", "classnames": "2.2.6", "clipboard": "2.0.4", diff --git a/webpack.config.js b/webpack.config.js deleted file mode 100644 index e47ff06a8..000000000 --- a/webpack.config.js +++ /dev/null @@ -1,42 +0,0 @@ -var path = require('path'); -var webpack = require('webpack'); - -var uglifyJsPlugin = new webpack.optimize.UglifyJsPlugin(); - -var uiFolder = 'UI'; -var root = path.join(__dirname, 'src', uiFolder); - -module.exports = { - devtool : '#source-map', - watchOptions : { poll: true }, - entry: { - vendor: 'vendor.js', - main: 'main.js' - }, - resolve: { - root: root, - alias: { - 'jdu': 'JsLibraries/jdu', - 'libs': 'JsLibraries/' - } - }, - output: { - filename: '_output/' + uiFolder + '/[name].js', - sourceMapFilename: '_output/' + uiFolder + '/[name].map' - }, - plugins: [ - new webpack.optimize.CommonsChunkPlugin({ name: 'vendor' }) - ], - module: { - - //this doesn't work yet. waiting for https://github.com/spenceralger/rcloader/issues/5 - /*preLoaders: [ - { - test: /\.js$/, // include .js files - loader: "jshint-loader", - exclude: [/JsLibraries/,/node_modules/] - } - ] - */ - } -}; diff --git a/yarn.lock b/yarn.lock index 72f7affed..cc6ceb34a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1526,19 +1526,6 @@ babel-plugin-inline-classnames@2.0.1: resolved "https://registry.yarnpkg.com/babel-plugin-inline-classnames/-/babel-plugin-inline-classnames-2.0.1.tgz#d871490af06781a42f231a1e090bc4133594f168" integrity sha512-Pq/jJ6hTiGiqcMmy2d4CyJcfBDeUHOdQl1t1MDWNaSKR2RxDmShSAx4Zqz6NDmFaiinaRqF8eQoTVgSRGU+McQ== -babel-plugin-syntax-jsx@^6.8.0: - version "6.18.0" - resolved "https://registry.yarnpkg.com/babel-plugin-syntax-jsx/-/babel-plugin-syntax-jsx-6.18.0.tgz#0af32a9a6e13ca7a3fd5069e62d7b0f58d0d8946" - integrity sha1-CvMqmm4Tyno/1QaeYtew9Y0NiUY= - -babel-plugin-transform-react-jsx-source@6.22.0: - version "6.22.0" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-react-jsx-source/-/babel-plugin-transform-react-jsx-source-6.22.0.tgz#66ac12153f5cd2d17b3c19268f4bf0197f44ecd6" - integrity sha1-ZqwSFT9c0tF7PBkmj0vwGX9E7NY= - dependencies: - babel-plugin-syntax-jsx "^6.8.0" - babel-runtime "^6.22.0" - babel-plugin-transform-react-remove-prop-types@0.4.24: version "0.4.24" resolved "https://registry.yarnpkg.com/babel-plugin-transform-react-remove-prop-types/-/babel-plugin-transform-react-remove-prop-types-0.4.24.tgz#f2edaf9b4c6a5fbe5c1d678bfb531078c1555f3a"