diff options
author | Vitaly Takmazov | 2018-06-18 11:20:04 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-01-13 10:37:52 +0300 |
commit | c91a070f5d3d9bd66b5195b3cf45fbf9a2f1aca4 (patch) | |
tree | 9b36fdf48ec2efc4a3e6f783d8c910d731bc8cde /vnext | |
parent | c41644ea950ed689cf27a3db98b3707bda7bfc0d (diff) |
babel-polyfill
Diffstat (limited to 'vnext')
-rw-r--r-- | vnext/package.json | 3 | ||||
-rw-r--r-- | vnext/webpack.config.js | 3 | ||||
-rw-r--r-- | vnext/yarn.lock | 12 |
3 files changed, 16 insertions, 2 deletions
diff --git a/vnext/package.json b/vnext/package.json index 3eaec73f..bf70be0e 100644 --- a/vnext/package.json +++ b/vnext/package.json @@ -13,6 +13,7 @@ "devDependencies": { "babel-core": "^6.26.3", "babel-loader": "^7.1.4", + "babel-polyfill": "^6.26.0", "babel-preset-env": "^1.7.0", "babel-preset-react": "^6.24.1", "connect-history-api-fallback": "^1.5.0", @@ -42,4 +43,4 @@ "react-router-dom": "^4.3.1", "whatwg-fetch": "^2.0.4" } -} +}
\ No newline at end of file diff --git a/vnext/webpack.config.js b/vnext/webpack.config.js index 298ebde2..37413101 100644 --- a/vnext/webpack.config.js +++ b/vnext/webpack.config.js @@ -9,6 +9,7 @@ module.exports = { mode: process.env.WEBPACK_SERVE ? 'development' : 'production', entry: { 'Juick': [ + 'babel-polyfill', 'file-loader?name=index.html!./src/views/index.html', __dirname + '/src/index.js', __dirname + '/src/style/main.css' @@ -35,7 +36,7 @@ module.exports = { ] }, - { test: /\.js$/, exclude: /node_modules/, loader: 'babel-loader' }, + { test: /\.js$/, exclude: /node_modules\/(?!query-string)/, loader: 'babel-loader' }, { test: /\.(jpe?g|png|gif|svg)$/i, loaders: [ 'file-loader?hash=sha512&digest=hex&name=[hash].[ext]' ]} diff --git a/vnext/yarn.lock b/vnext/yarn.lock index 5e77fbe7..828dd50c 100644 --- a/vnext/yarn.lock +++ b/vnext/yarn.lock @@ -775,6 +775,14 @@ babel-plugin-transform-strict-mode@^6.24.1: babel-runtime "^6.22.0" babel-types "^6.24.1" +babel-polyfill@^6.26.0: + version "6.26.0" + resolved "https://registry.yarnpkg.com/babel-polyfill/-/babel-polyfill-6.26.0.tgz#379937abc67d7895970adc621f284cd966cf2153" + dependencies: + babel-runtime "^6.26.0" + core-js "^2.5.0" + regenerator-runtime "^0.10.5" + babel-preset-env@^1.7.0: version "1.7.0" resolved "https://registry.yarnpkg.com/babel-preset-env/-/babel-preset-env-1.7.0.tgz#dea79fa4ebeb883cd35dab07e260c1c9c04df77a" @@ -4005,6 +4013,10 @@ regenerate@^1.2.1: version "1.4.0" resolved "https://registry.yarnpkg.com/regenerate/-/regenerate-1.4.0.tgz#4a856ec4b56e4077c557589cae85e7a4c8869a11" +regenerator-runtime@^0.10.5: + version "0.10.5" + resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.10.5.tgz#336c3efc1220adcedda2c9fab67b5a7955a33658" + regenerator-runtime@^0.11.0: version "0.11.1" resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz#be05ad7f9bf7d22e056f9726cee5017fbf19e2e9" |