Removed unused babel-plugin-transform-react-jsx-source

pull/2984/head
Mark McDowall 6 years ago
parent 984b7bbeea
commit db3aeb9ab5

@ -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 }]

@ -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",

@ -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/]
}
]
*/
}
};

@ -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"

Loading…
Cancel
Save