Skip to content

Commit

Permalink
Hotfix: Babel loader env (#11)
Browse files Browse the repository at this point in the history
* Updated loader options.

* Applying package updates.
  • Loading branch information
Eimantas committed May 2, 2019
1 parent 09377dd commit 1c6b965
Show file tree
Hide file tree
Showing 11 changed files with 48 additions and 17 deletions.
2 changes: 1 addition & 1 deletion common/config/rush/version-policies.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"policyName": "WebpackBuilderPolicy",
"mainProject": "@reactway/webpack-builder",
"nextBump": "prerelease",
"version": "1.0.0-alpha.10"
"version": "1.0.0-alpha.11"
}
]
4 changes: 2 additions & 2 deletions packages/webpack-builder-plugin-clean/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@reactway/webpack-builder-plugin-clean",
"version": "1.0.0-alpha.10",
"version": "1.0.0-alpha.11",
"description": "A plugin made for webpack-builder.",
"keywords": [
"webpack",
Expand Down Expand Up @@ -31,7 +31,7 @@
"**/*.md"
],
"dependencies": {
"@reactway/webpack-builder": "1.0.0-alpha.10",
"@reactway/webpack-builder": "1.0.0-alpha.11",
"clean-webpack-plugin": "^2.0.1",
"tslib": "^1.9.3",
"upath": "^1.1.2"
Expand Down
4 changes: 2 additions & 2 deletions packages/webpack-builder-plugin-html/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@reactway/webpack-builder-plugin-html",
"version": "1.0.0-alpha.10",
"version": "1.0.0-alpha.11",
"description": "A plugin made for webpack-builder.",
"keywords": [
"webpack",
Expand Down Expand Up @@ -31,7 +31,7 @@
"**/*.md"
],
"dependencies": {
"@reactway/webpack-builder": "1.0.0-alpha.10",
"@reactway/webpack-builder": "1.0.0-alpha.11",
"tslib": "^1.9.3",
"html-webpack-plugin": "^3.2.0",
"html-webpack-template": "^6.2.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/webpack-builder-plugin-images/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@reactway/webpack-builder-plugin-images",
"version": "1.0.0-alpha.10",
"version": "1.0.0-alpha.11",
"description": "A plugin made for webpack-builder.",
"keywords": [
"webpack",
Expand Down Expand Up @@ -30,7 +30,7 @@
"**/*.md"
],
"dependencies": {
"@reactway/webpack-builder": "1.0.0-alpha.10",
"@reactway/webpack-builder": "1.0.0-alpha.11",
"tslib": "^1.9.3",
"url-loader": "^1.1.2",
"upath": "^1.1.2"
Expand Down
4 changes: 2 additions & 2 deletions packages/webpack-builder-plugin-styles/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@reactway/webpack-builder-plugin-styles",
"version": "1.0.0-alpha.10",
"version": "1.0.0-alpha.11",
"description": "A plugin made for webpack-builder.",
"keywords": [
"webpack",
Expand Down Expand Up @@ -30,7 +30,7 @@
"**/*.md"
],
"dependencies": {
"@reactway/webpack-builder": "1.0.0-alpha.10",
"@reactway/webpack-builder": "1.0.0-alpha.11",
"optimize-css-assets-webpack-plugin": "^5.0.1",
"mini-css-extract-plugin": "^0.6.0",
"fs-extra": "^7.0.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/webpack-builder-plugin-typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@reactway/webpack-builder-plugin-typescript",
"version": "1.0.0-alpha.10",
"version": "1.0.0-alpha.11",
"description": "A plugin made for webpack-builder.",
"keywords": [
"webpack",
Expand Down Expand Up @@ -32,7 +32,7 @@
"dependencies": {
"@babel/core": "^7.3.4",
"@babel/preset-env": "^7.4.3",
"@reactway/webpack-builder": "1.0.0-alpha.10",
"@reactway/webpack-builder": "1.0.0-alpha.11",
"babel-loader": "^8.0.5",
"babel-plugin-syntax-dynamic-import": "^6.18.0",
"fork-ts-checker-webpack-plugin": "^1.0.0",
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion packages/webpack-builder-plugin-typescript/src/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ export const TypeScriptPlugin: Plugin<TypeScriptPluginOptions> = (config, projec
loader: "babel-loader",
options: {
babelrc: true,
plugins: ["syntax-dynamic-import"]
plugins: ["syntax-dynamic-import"],
presets: ["@babel/preset-env"]
}
},
{
Expand Down
4 changes: 2 additions & 2 deletions packages/webpack-builder-plugin-web-dev/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@reactway/webpack-builder-plugin-web-dev",
"version": "1.0.0-alpha.10",
"version": "1.0.0-alpha.11",
"description": "A plugin made for webpack-builder.",
"keywords": [
"webpack",
Expand Down Expand Up @@ -31,7 +31,7 @@
"**/*.md"
],
"dependencies": {
"@reactway/webpack-builder": "1.0.0-alpha.10",
"@reactway/webpack-builder": "1.0.0-alpha.11",
"tslib": "^1.9.3",
"upath": "^1.1.2"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/webpack-builder-plugin-write-file/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@reactway/webpack-builder-plugin-write-file",
"version": "1.0.0-alpha.10",
"version": "1.0.0-alpha.11",
"description": "A plugin made for webpack-builder.",
"keywords": [
"webpack",
Expand Down Expand Up @@ -31,7 +31,7 @@
"**/*.md"
],
"dependencies": {
"@reactway/webpack-builder": "1.0.0-alpha.10",
"@reactway/webpack-builder": "1.0.0-alpha.11",
"tslib": "^1.9.3",
"write-file-webpack-plugin": "^4.5.0",
"upath": "^1.1.2"
Expand Down
2 changes: 1 addition & 1 deletion packages/webpack-builder/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@reactway/webpack-builder",
"version": "1.0.0-alpha.10",
"version": "1.0.0-alpha.11",
"description": "A tool to create webpack config easier using plugins.",
"keywords": [
"webpack",
Expand Down

0 comments on commit 1c6b965

Please sign in to comment.