Skip to content

Commit

Permalink
Hotfix: babel warning (#17)
Browse files Browse the repository at this point in the history
* Added `compact`  to `jsx`  loader.

* Applying package updates.

* Updated versions.
  • Loading branch information
Eimantas committed Jun 5, 2019
1 parent d77deed commit 25b70c0
Show file tree
Hide file tree
Showing 12 changed files with 30 additions and 19 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.16"
"version": "1.0.0-alpha.17"
}
]
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.16",
"version": "1.0.0-alpha.17",
"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.16",
"@reactway/webpack-builder": "1.0.0-alpha.17",
"clean-webpack-plugin": "^2.0.1",
"webpack": "^4.31.0",
"tslib": "^1.9.3",
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.16",
"version": "1.0.0-alpha.17",
"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.16",
"@reactway/webpack-builder": "1.0.0-alpha.17",
"tslib": "^1.9.3",
"html-webpack-plugin": "^3.2.0",
"html-webpack-template": "^6.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/webpack-builder-plugin-image-loader/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@reactway/image-loader",
"version": "1.0.0-alpha.16",
"version": "1.0.0-alpha.17",
"description": "A plugin made for webpack to load images, optimize and resize.",
"keywords": [
"webpack",
Expand Down
6 changes: 3 additions & 3 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.16",
"version": "1.0.0-alpha.17",
"description": "A plugin made for webpack-builder.",
"keywords": [
"webpack",
Expand Down Expand Up @@ -30,8 +30,8 @@
"**/*.md"
],
"dependencies": {
"@reactway/webpack-builder": "1.0.0-alpha.16",
"@reactway/image-loader": "^1.0.0-alpha.16",
"@reactway/webpack-builder": "1.0.0-alpha.17",
"@reactway/image-loader": "^1.0.0-alpha.17",
"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.16",
"version": "1.0.0-alpha.17",
"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.16",
"@reactway/webpack-builder": "1.0.0-alpha.17",
"optimize-css-assets-webpack-plugin": "^5.0.1",
"mini-css-extract-plugin": "^0.6.0",
"fs-extra": "^8.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.16",
"version": "1.0.0-alpha.17",
"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.16",
"@reactway/webpack-builder": "1.0.0-alpha.17",
"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 @@ -104,7 +104,8 @@ export const TypeScriptPlugin: Plugin<TypeScriptPluginOptions> = (config, projec
{
loader: "babel-loader",
options: {
presets: ["@babel/preset-env"]
presets: ["@babel/preset-env"],
compact: true
}
}
],
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.16",
"version": "1.0.0-alpha.17",
"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.16",
"@reactway/webpack-builder": "1.0.0-alpha.17",
"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.16",
"version": "1.0.0-alpha.17",
"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.16",
"@reactway/webpack-builder": "1.0.0-alpha.17",
"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.16",
"version": "1.0.0-alpha.17",
"description": "A tool to create webpack config easier using plugins.",
"keywords": [
"webpack",
Expand Down

0 comments on commit 25b70c0

Please sign in to comment.