From 13d90b2d3137927811e5b4e0153b012a1d7b9c93 Mon Sep 17 00:00:00 2001 From: Logan Smyth Date: Mon, 27 Aug 2018 15:08:52 -0700 Subject: [PATCH 1/3] Prepare for 8.0.0 release. --- README.md | 8 ++++---- package.json | 5 +---- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index f9ca8769..97bef899 100644 --- a/README.md +++ b/README.md @@ -22,16 +22,16 @@ __Notes:__ Issues with the output should be reported on the babel [issue tracker

Install

-> webpack 3.x | babel-loader 8.x | babel 7.x +> webpack 4.x | babel-loader 8.x | babel 7.x ```bash -npm install "babel-loader@^8.0.0-beta" @babel/core @babel/preset-env webpack +npm install babel-loader @babel/core @babel/preset-env webpack ``` -> webpack 3.x babel-loader 7.x | babel 6.x +> webpack 4.x | babel-loader 7.x | babel 6.x ```bash -npm install babel-loader babel-core babel-preset-env webpack +npm install babel-loader@7 babel-core babel-preset-env webpack ```

Usage

diff --git a/package.json b/package.json index 883d40ef..131ee398 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "util.promisify": "^1.0.0" }, "peerDependencies": { - "@babel/core": "^7.0.0 || ^7.0.0-rc || ^7.0.0-beta.41", + "@babel/core": "^7.0.0", "webpack": ">=2" }, "devDependencies": { @@ -53,9 +53,6 @@ "test": "yarn run lint && cross-env BABEL_ENV=test yarn run build && yarn run test-only", "test-only": "nyc ava" }, - "publishConfig": { - "tag": "next" - }, "repository": { "type": "git", "url": "https://github.com/babel/babel-loader.git" From a55fc2e59cdacd9bde6b3e044a361bae1e086a89 Mon Sep 17 00:00:00 2001 From: Logan Smyth Date: Mon, 27 Aug 2018 15:13:21 -0700 Subject: [PATCH 2/3] 8.0.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 131ee398..e6942d83 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "babel-loader", - "version": "8.0.0-beta.6", + "version": "8.0.0", "description": "babel module loader for webpack", "files": [ "lib" From 053c9f6ea115484fc63ea19ee484b863275d4c67 Mon Sep 17 00:00:00 2001 From: Adrien HARNAY Date: Fri, 31 Aug 2018 17:54:21 +0200 Subject: [PATCH 3/3] Remove babelrc from loader-specific options (#667) `babelrc` is [supported by Babel](https://babeljs.io/docs/en/options#babelrc), so it is not a loader-specific option. --- README.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/README.md b/README.md index 97bef899..082afa00 100644 --- a/README.md +++ b/README.md @@ -88,9 +88,6 @@ This loader also supports the following loader-specific option: * `cacheIdentifier`: Default is a string composed by the babel-core's version, the babel-loader's version, the contents of .babelrc file if it exists and the value of the environment variable `BABEL_ENV` with a fallback to the `NODE_ENV` environment variable. This can be set to a custom value to force cache busting if the identifier changes. -* `babelrc`: Default `true`. When `false`, no options from `.babelrc` files will be used; only the options passed to -`babel-loader` will be used. - __Note:__ The `sourceMap` option is ignored, instead sourceMaps are automatically enabled when webpack is configured to use them (via the `devtool` config option). ## Troubleshooting