From 06f7417a47b18c95dbf476f26195f25489d5bc9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kari=20S=C3=B6derholm?= Date: Mon, 26 Apr 2021 14:23:01 +0300 Subject: [PATCH] fix: don't publish flow-client TS sources separately in JAR (#10765) (#10795) Improve performance of webpack build by only shipping precompiled JS of the flow-frontend TS sources, so webpack doesn't try to use the TS source files which is slower than using JS directly. The TS sources are still included in the sourcemaps (`.js.map`). This is a cherry-pick of 0476cd4bd7ef7c237a35e3c32aa9603903302bbb (from master to 6.0). --- .gitignore | 2 +- flow-client/.eslintrc.js | 9 ++++++++- flow-client/package.json | 5 +++-- flow-client/scripts/.eslintrc.js | 6 ++++++ flow-client/scripts/client.js | 14 +++++++++----- flow-client/scripts/version.js | 2 +- .../resources => }/frontend/Authentication.ts | 0 .../META-INF/resources => }/frontend/Connect.ts | 0 .../resources => }/frontend/ConnectionIndicator.ts | 0 .../resources => }/frontend/ConnectionState.ts | 0 .../META-INF/resources => }/frontend/Flow.ts | 0 .../resources => }/frontend/FlowBootstrap.d.ts | 0 .../resources => }/frontend/FlowBootstrap.js | 0 .../resources => }/frontend/FlowClient.d.ts | 0 .../resources => }/frontend/VaadinDevmodeGizmo.ts | 0 .../resources => }/frontend/form/Binder.ts | 0 .../resources => }/frontend/form/BinderNode.ts | 0 .../META-INF/resources => }/frontend/form/Field.ts | 0 .../resources => }/frontend/form/Models.ts | 0 .../resources => }/frontend/form/Validation.ts | 0 .../resources => }/frontend/form/Validators.ts | 0 .../META-INF/resources => }/frontend/form/index.ts | 0 .../META-INF/resources => }/frontend/index.ts | 0 .../src/test/frontend/AuthenticationTests.ts | 2 +- flow-client/src/test/frontend/ConnectTests.ts | 4 ++-- .../src/test/frontend/ConnectionIndicatorTests.ts | 4 ++-- .../src/test/frontend/ConnectionStateTests.ts | 2 +- flow-client/src/test/frontend/FlowTests.ts | 8 ++++---- .../src/test/frontend/VaadinDevmodeGizmoTests.js | 2 +- flow-client/src/test/frontend/form/BinderTests.ts | 2 +- flow-client/src/test/frontend/form/FieldTests.ts | 4 ++-- flow-client/src/test/frontend/form/IndexTests.ts | 2 +- flow-client/src/test/frontend/form/ModelTests.ts | 2 +- flow-client/src/test/frontend/form/TestModels.ts | 2 +- .../src/test/frontend/form/ValidationTests.ts | 2 +- .../src/test/frontend/form/ValidatorsTests.ts | 2 +- flow-client/tsconfig.json | 2 +- 37 files changed, 48 insertions(+), 30 deletions(-) create mode 100644 flow-client/scripts/.eslintrc.js rename flow-client/src/main/{resources/META-INF/resources => }/frontend/Authentication.ts (100%) rename flow-client/src/main/{resources/META-INF/resources => }/frontend/Connect.ts (100%) rename flow-client/src/main/{resources/META-INF/resources => }/frontend/ConnectionIndicator.ts (100%) rename flow-client/src/main/{resources/META-INF/resources => }/frontend/ConnectionState.ts (100%) rename flow-client/src/main/{resources/META-INF/resources => }/frontend/Flow.ts (100%) rename flow-client/src/main/{resources/META-INF/resources => }/frontend/FlowBootstrap.d.ts (100%) rename flow-client/src/main/{resources/META-INF/resources => }/frontend/FlowBootstrap.js (100%) rename flow-client/src/main/{resources/META-INF/resources => }/frontend/FlowClient.d.ts (100%) rename flow-client/src/main/{resources/META-INF/resources => }/frontend/VaadinDevmodeGizmo.ts (100%) rename flow-client/src/main/{resources/META-INF/resources => }/frontend/form/Binder.ts (100%) rename flow-client/src/main/{resources/META-INF/resources => }/frontend/form/BinderNode.ts (100%) rename flow-client/src/main/{resources/META-INF/resources => }/frontend/form/Field.ts (100%) rename flow-client/src/main/{resources/META-INF/resources => }/frontend/form/Models.ts (100%) rename flow-client/src/main/{resources/META-INF/resources => }/frontend/form/Validation.ts (100%) rename flow-client/src/main/{resources/META-INF/resources => }/frontend/form/Validators.ts (100%) rename flow-client/src/main/{resources/META-INF/resources => }/frontend/form/index.ts (100%) rename flow-client/src/main/{resources/META-INF/resources => }/frontend/index.ts (100%) diff --git a/.gitignore b/.gitignore index ffa946048ff..d4fc1c20c49 100644 --- a/.gitignore +++ b/.gitignore @@ -52,7 +52,7 @@ flow-tests/**/tsconfig.json flow-tests/**/pnpm-lock.yaml yarn.lock -flow-client/src/main/resources/META-INF/resources/frontend/FlowClient.js +flow-client/src/main/frontend/FlowClient.js flow-tests/**/types.d.ts /flow-tests/**/*.generated.js /flow-tests/**/generated/** diff --git a/flow-client/.eslintrc.js b/flow-client/.eslintrc.js index b7d28eca762..76310c2fe13 100644 --- a/flow-client/.eslintrc.js +++ b/flow-client/.eslintrc.js @@ -18,6 +18,13 @@ module.exports = { }, }, + { + "files": ["**/.eslintrc.js"], + "globals": { + "module": "readonly", + }, + }, + { "files": ["**/*.ts"], @@ -50,6 +57,6 @@ module.exports = { "no-restricted-globals": 0, "no-restricted-syntax": 0, }, - } + }, ] }; diff --git a/flow-client/package.json b/flow-client/package.json index f07c5b7f4ec..a6a3df75719 100644 --- a/flow-client/package.json +++ b/flow-client/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/vaadin/flow/issues" }, "scripts": { - "lint": "eslint \"src/main/resources/META-INF/resources/frontend\"", + "lint": "eslint 'src/main/frontend'", "client": "node scripts/client.js", "version": "node scripts/version.js", "webpack": "webpack --config=webpack.tests.config.js", @@ -24,7 +24,7 @@ "url": "git://github.com/vaadin/flow.git" }, "files": [ - "src/main/resources/META-INF/resources/frontend" + "src/main/frontend" ], "devDependencies": { "@types/sinon": "^9.0.0", @@ -34,6 +34,7 @@ "eslint-config-vaadin": "^0.4.0", "fetch-mock": "^7.3.0", "intern": "^4.4.3", + "mkdirp": "^0.5.5", "node-fetch": "^2.3.0", "prettier": "^2.2.1", "sinon": "^7.1.1", diff --git a/flow-client/scripts/.eslintrc.js b/flow-client/scripts/.eslintrc.js new file mode 100644 index 00000000000..81225a199e8 --- /dev/null +++ b/flow-client/scripts/.eslintrc.js @@ -0,0 +1,6 @@ +module.exports = { + "env": { + "browser": false, + "node": true, + }, +}; diff --git a/flow-client/scripts/client.js b/flow-client/scripts/client.js index 30b0a0741e9..8619f217537 100644 --- a/flow-client/scripts/client.js +++ b/flow-client/scripts/client.js @@ -15,12 +15,13 @@ */ const fs = require('fs'); +const mkdirp = require('mkdirp'); const fromDir = "target/classes/META-INF/resources/VAADIN/static/client/"; const fromFileRegex = /^client-.*\.cache\.js$/; -const toSourceDir = "src/main/resources/META-INF/resources/frontend/"; -const toTargetDir = "target/classes/META-INF/resources/frontend/"; +const sourceDir = "src/main/frontend/"; +const targetDir = "target/classes/META-INF/resources/frontend/"; const toFile = "FlowClient.js"; const fromFileName = fs.readdirSync(fromDir) @@ -35,10 +36,13 @@ ${clientSource} };`; // Write to source -fs.writeFileSync(toSourceDir + toFile, clientSource, 'utf8'); +fs.writeFileSync(sourceDir + toFile, clientSource, 'utf8'); -// Write to target -fs.writeFileSync(toTargetDir + toFile, clientSource, 'utf8'); +// Write to target (copy '.d.ts' and '.js' files from sourceDir) +mkdirp(targetDir); +fs.readdirSync(sourceDir) + .filter(s => s.endsWith('.d.ts') ||s.endsWith('.js')) + .forEach(file => fs.copyFileSync(sourceDir + file, targetDir + file)); // Check that chromedriver version matches in flow and intern const driversContent = fs.readFileSync('../drivers.xml', 'utf8'); diff --git a/flow-client/scripts/version.js b/flow-client/scripts/version.js index 799fda1e9e0..9bebfc0b2b1 100644 --- a/flow-client/scripts/version.js +++ b/flow-client/scripts/version.js @@ -20,7 +20,7 @@ const fs = require('fs'); // when it copies resources from `src/main/resources` into `target/classes` const versionFile = 'target/classes/version.txt'; const replaceVersionInFiles = [ - 'src/main/resources/META-INF/resources/frontend/form/index.ts' + 'src/main/frontend/form/index.ts' ]; const version = fs.readFileSync(versionFile, 'utf8'); diff --git a/flow-client/src/main/resources/META-INF/resources/frontend/Authentication.ts b/flow-client/src/main/frontend/Authentication.ts similarity index 100% rename from flow-client/src/main/resources/META-INF/resources/frontend/Authentication.ts rename to flow-client/src/main/frontend/Authentication.ts diff --git a/flow-client/src/main/resources/META-INF/resources/frontend/Connect.ts b/flow-client/src/main/frontend/Connect.ts similarity index 100% rename from flow-client/src/main/resources/META-INF/resources/frontend/Connect.ts rename to flow-client/src/main/frontend/Connect.ts diff --git a/flow-client/src/main/resources/META-INF/resources/frontend/ConnectionIndicator.ts b/flow-client/src/main/frontend/ConnectionIndicator.ts similarity index 100% rename from flow-client/src/main/resources/META-INF/resources/frontend/ConnectionIndicator.ts rename to flow-client/src/main/frontend/ConnectionIndicator.ts diff --git a/flow-client/src/main/resources/META-INF/resources/frontend/ConnectionState.ts b/flow-client/src/main/frontend/ConnectionState.ts similarity index 100% rename from flow-client/src/main/resources/META-INF/resources/frontend/ConnectionState.ts rename to flow-client/src/main/frontend/ConnectionState.ts diff --git a/flow-client/src/main/resources/META-INF/resources/frontend/Flow.ts b/flow-client/src/main/frontend/Flow.ts similarity index 100% rename from flow-client/src/main/resources/META-INF/resources/frontend/Flow.ts rename to flow-client/src/main/frontend/Flow.ts diff --git a/flow-client/src/main/resources/META-INF/resources/frontend/FlowBootstrap.d.ts b/flow-client/src/main/frontend/FlowBootstrap.d.ts similarity index 100% rename from flow-client/src/main/resources/META-INF/resources/frontend/FlowBootstrap.d.ts rename to flow-client/src/main/frontend/FlowBootstrap.d.ts diff --git a/flow-client/src/main/resources/META-INF/resources/frontend/FlowBootstrap.js b/flow-client/src/main/frontend/FlowBootstrap.js similarity index 100% rename from flow-client/src/main/resources/META-INF/resources/frontend/FlowBootstrap.js rename to flow-client/src/main/frontend/FlowBootstrap.js diff --git a/flow-client/src/main/resources/META-INF/resources/frontend/FlowClient.d.ts b/flow-client/src/main/frontend/FlowClient.d.ts similarity index 100% rename from flow-client/src/main/resources/META-INF/resources/frontend/FlowClient.d.ts rename to flow-client/src/main/frontend/FlowClient.d.ts diff --git a/flow-client/src/main/resources/META-INF/resources/frontend/VaadinDevmodeGizmo.ts b/flow-client/src/main/frontend/VaadinDevmodeGizmo.ts similarity index 100% rename from flow-client/src/main/resources/META-INF/resources/frontend/VaadinDevmodeGizmo.ts rename to flow-client/src/main/frontend/VaadinDevmodeGizmo.ts diff --git a/flow-client/src/main/resources/META-INF/resources/frontend/form/Binder.ts b/flow-client/src/main/frontend/form/Binder.ts similarity index 100% rename from flow-client/src/main/resources/META-INF/resources/frontend/form/Binder.ts rename to flow-client/src/main/frontend/form/Binder.ts diff --git a/flow-client/src/main/resources/META-INF/resources/frontend/form/BinderNode.ts b/flow-client/src/main/frontend/form/BinderNode.ts similarity index 100% rename from flow-client/src/main/resources/META-INF/resources/frontend/form/BinderNode.ts rename to flow-client/src/main/frontend/form/BinderNode.ts diff --git a/flow-client/src/main/resources/META-INF/resources/frontend/form/Field.ts b/flow-client/src/main/frontend/form/Field.ts similarity index 100% rename from flow-client/src/main/resources/META-INF/resources/frontend/form/Field.ts rename to flow-client/src/main/frontend/form/Field.ts diff --git a/flow-client/src/main/resources/META-INF/resources/frontend/form/Models.ts b/flow-client/src/main/frontend/form/Models.ts similarity index 100% rename from flow-client/src/main/resources/META-INF/resources/frontend/form/Models.ts rename to flow-client/src/main/frontend/form/Models.ts diff --git a/flow-client/src/main/resources/META-INF/resources/frontend/form/Validation.ts b/flow-client/src/main/frontend/form/Validation.ts similarity index 100% rename from flow-client/src/main/resources/META-INF/resources/frontend/form/Validation.ts rename to flow-client/src/main/frontend/form/Validation.ts diff --git a/flow-client/src/main/resources/META-INF/resources/frontend/form/Validators.ts b/flow-client/src/main/frontend/form/Validators.ts similarity index 100% rename from flow-client/src/main/resources/META-INF/resources/frontend/form/Validators.ts rename to flow-client/src/main/frontend/form/Validators.ts diff --git a/flow-client/src/main/resources/META-INF/resources/frontend/form/index.ts b/flow-client/src/main/frontend/form/index.ts similarity index 100% rename from flow-client/src/main/resources/META-INF/resources/frontend/form/index.ts rename to flow-client/src/main/frontend/form/index.ts diff --git a/flow-client/src/main/resources/META-INF/resources/frontend/index.ts b/flow-client/src/main/frontend/index.ts similarity index 100% rename from flow-client/src/main/resources/META-INF/resources/frontend/index.ts rename to flow-client/src/main/frontend/index.ts diff --git a/flow-client/src/test/frontend/AuthenticationTests.ts b/flow-client/src/test/frontend/AuthenticationTests.ts index 65596db74ef..aa9fe036e59 100644 --- a/flow-client/src/test/frontend/AuthenticationTests.ts +++ b/flow-client/src/test/frontend/AuthenticationTests.ts @@ -3,7 +3,7 @@ const {expect} = intern.getPlugin('chai'); const {fetchMock} = intern.getPlugin('fetchMock'); const {sinon} = intern.getPlugin('sinon'); -import { ConnectClient, InvalidSessionMiddleware, login, logout } from "../../main/resources/META-INF/resources/frontend"; +import { ConnectClient, InvalidSessionMiddleware, login, logout } from "../../main/frontend"; // `connectClient.call` adds the host and context to the endpoint request. // we need to add this origin when configuring fetch-mock diff --git a/flow-client/src/test/frontend/ConnectTests.ts b/flow-client/src/test/frontend/ConnectTests.ts index 8e9be38b62a..f1173f97348 100644 --- a/flow-client/src/test/frontend/ConnectTests.ts +++ b/flow-client/src/test/frontend/ConnectTests.ts @@ -11,8 +11,8 @@ import { EndpointError, EndpointResponseError, EndpointValidationError, -} from "../../main/resources/META-INF/resources/frontend/Connect"; -import {ConnectionState, ConnectionStateStore} from "../../main/resources/META-INF/resources/frontend/ConnectionState"; +} from "../../main/frontend/Connect"; +import {ConnectionState, ConnectionStateStore} from "../../main/frontend/ConnectionState"; // `connectClient.call` adds the host and context to the endpoint request. // we need to add this origin when configuring fetch-mock diff --git a/flow-client/src/test/frontend/ConnectionIndicatorTests.ts b/flow-client/src/test/frontend/ConnectionIndicatorTests.ts index e1fc99cf636..3160035f34a 100644 --- a/flow-client/src/test/frontend/ConnectionIndicatorTests.ts +++ b/flow-client/src/test/frontend/ConnectionIndicatorTests.ts @@ -16,12 +16,12 @@ const {suite, test, beforeEach, afterEach} = intern.getInterface("tdd"); const {assert} = intern.getPlugin("chai"); -import {ConnectionIndicator} from "../../main/resources/META-INF/resources/frontend"; +import {ConnectionIndicator} from "../../main/frontend"; import { ConnectionState, ConnectionStateStore -} from "../../main/resources/META-INF/resources/frontend/ConnectionState"; +} from "../../main/frontend/ConnectionState"; const $wnd = (window as any); diff --git a/flow-client/src/test/frontend/ConnectionStateTests.ts b/flow-client/src/test/frontend/ConnectionStateTests.ts index 2c218338aa8..f74caf3fd5d 100644 --- a/flow-client/src/test/frontend/ConnectionStateTests.ts +++ b/flow-client/src/test/frontend/ConnectionStateTests.ts @@ -6,7 +6,7 @@ const { assert } = intern.getPlugin("chai"); import { ConnectionState, ConnectionStateStore -} from "../../main/resources/META-INF/resources/frontend/ConnectionState"; +} from "../../main/frontend/ConnectionState"; describe('ConnectionStateStore', () => { diff --git a/flow-client/src/test/frontend/FlowTests.ts b/flow-client/src/test/frontend/FlowTests.ts index fe3145e6683..4745cf50a29 100644 --- a/flow-client/src/test/frontend/FlowTests.ts +++ b/flow-client/src/test/frontend/FlowTests.ts @@ -5,12 +5,12 @@ const { assert } = intern.getPlugin("chai"); const { sinon } = intern.getPlugin("sinon") as { sinon: SinonStatic }; // API to test -import {Flow, NavigationParameters} from "../../main/resources/META-INF/resources/frontend/Flow"; -import {ConnectionState, ConnectionStateStore} from "../../main/resources/META-INF/resources/frontend/ConnectionState"; +import {Flow, NavigationParameters} from "../../main/frontend/Flow"; +import {ConnectionState, ConnectionStateStore} from "../../main/frontend/ConnectionState"; // Intern does not serve webpack chunks, adding deps here in order to // produce one chunk, because dynamic imports in Flow.ts will not work. -import "../../main/resources/META-INF/resources/frontend/FlowBootstrap"; -import "../../main/resources/META-INF/resources/frontend/FlowClient"; +import "../../main/frontend/FlowBootstrap"; +import "../../main/frontend/FlowClient"; // Mock XMLHttpRequest so as we don't need flow-server running for tests. import mock from 'xhr-mock'; diff --git a/flow-client/src/test/frontend/VaadinDevmodeGizmoTests.js b/flow-client/src/test/frontend/VaadinDevmodeGizmoTests.js index 7ce0196e9d5..1fe9900c43d 100644 --- a/flow-client/src/test/frontend/VaadinDevmodeGizmoTests.js +++ b/flow-client/src/test/frontend/VaadinDevmodeGizmoTests.js @@ -1,7 +1,7 @@ const { describe, it } = intern.getPlugin('interface.bdd'); const { assert } = intern.getPlugin("chai"); -import { VaadinDevmodeGizmo } from "../../main/resources/META-INF/resources/frontend/VaadinDevmodeGizmo"; +import { VaadinDevmodeGizmo } from "../../main/frontend/VaadinDevmodeGizmo"; describe('VaadinDevmodeGizmo', () => { diff --git a/flow-client/src/test/frontend/form/BinderTests.ts b/flow-client/src/test/frontend/form/BinderTests.ts index cc85eee6091..560e91f40f8 100644 --- a/flow-client/src/test/frontend/form/BinderTests.ts +++ b/flow-client/src/test/frontend/form/BinderTests.ts @@ -9,7 +9,7 @@ const {sinon} = intern.getPlugin('sinon'); import { Binder, BinderConfiguration, -} from "../../../main/resources/META-INF/resources/frontend/form"; +} from "../../../main/frontend/form"; import {Employee, EmployeeModel, Order, OrderModel, TestEntity, TestModel} from "./TestModels"; diff --git a/flow-client/src/test/frontend/form/FieldTests.ts b/flow-client/src/test/frontend/form/FieldTests.ts index 5d4c55fe26a..35cd467ebc2 100644 --- a/flow-client/src/test/frontend/form/FieldTests.ts +++ b/flow-client/src/test/frontend/form/FieldTests.ts @@ -1,6 +1,6 @@ /* tslint:disable:max-classes-per-file */ -import {BinderNode} from "../../../main/resources/META-INF/resources/frontend/form/BinderNode"; +import {BinderNode} from "../../../main/frontend/form/BinderNode"; const {suite, test, beforeEach, afterEach} = intern.getInterface("tdd"); const {assert} = intern.getPlugin("chai"); @@ -20,7 +20,7 @@ import { AbstractModel, FieldStrategy, AbstractFieldStrategy -} from "../../../main/resources/META-INF/resources/frontend/form"; +} from "../../../main/frontend/form"; import {OrderModel, TestModel, TestEntity, Order} from "./TestModels"; diff --git a/flow-client/src/test/frontend/form/IndexTests.ts b/flow-client/src/test/frontend/form/IndexTests.ts index 0be942f8787..9b71fb33c22 100644 --- a/flow-client/src/test/frontend/form/IndexTests.ts +++ b/flow-client/src/test/frontend/form/IndexTests.ts @@ -27,7 +27,7 @@ suite("form/Index", () => { }); test("should add registration", async () => { - await import("../../../main/resources/META-INF/resources/frontend/form"); + await import("../../../main/frontend/form"); assert.isDefined($wnd.Vaadin); assert.isArray($wnd.Vaadin.registrations); const formRegistrations = $wnd.Vaadin.registrations.filter((r: any) => r.is === "@vaadin/form"); diff --git a/flow-client/src/test/frontend/form/ModelTests.ts b/flow-client/src/test/frontend/form/ModelTests.ts index bdf556d56ac..5312c0575e9 100644 --- a/flow-client/src/test/frontend/form/ModelTests.ts +++ b/flow-client/src/test/frontend/form/ModelTests.ts @@ -16,7 +16,7 @@ import { NumberModel, Positive, Size -} from "../../../main/resources/META-INF/resources/frontend/form"; +} from "../../../main/frontend/form"; import {IdEntity, IdEntityModel, TestEntity, TestModel} from "./TestModels"; diff --git a/flow-client/src/test/frontend/form/TestModels.ts b/flow-client/src/test/frontend/form/TestModels.ts index 9ef6db43623..b797255d85f 100644 --- a/flow-client/src/test/frontend/form/TestModels.ts +++ b/flow-client/src/test/frontend/form/TestModels.ts @@ -12,7 +12,7 @@ import { Required, Size, StringModel, -} from "../../../main/resources/META-INF/resources/frontend/form"; +} from "../../../main/frontend/form"; export interface IdEntity { idString: string; diff --git a/flow-client/src/test/frontend/form/ValidationTests.ts b/flow-client/src/test/frontend/form/ValidationTests.ts index 2f2d84787c2..30e7e7ddafc 100644 --- a/flow-client/src/test/frontend/form/ValidationTests.ts +++ b/flow-client/src/test/frontend/form/ValidationTests.ts @@ -16,7 +16,7 @@ import { ValidationError, Validator, ValueError -} from "../../../main/resources/META-INF/resources/frontend/form"; +} from "../../../main/frontend/form"; import { IdEntity, IdEntityModel, Order, OrderModel, TestEntity, TestModel } from "./TestModels"; diff --git a/flow-client/src/test/frontend/form/ValidatorsTests.ts b/flow-client/src/test/frontend/form/ValidatorsTests.ts index 2950701e5be..0037c5f4c68 100644 --- a/flow-client/src/test/frontend/form/ValidatorsTests.ts +++ b/flow-client/src/test/frontend/form/ValidatorsTests.ts @@ -26,7 +26,7 @@ import { Required, Size } - from "../../../main/resources/META-INF/resources/frontend/form"; + from "../../../main/frontend/form"; suite("form/Validators", () => { diff --git a/flow-client/tsconfig.json b/flow-client/tsconfig.json index 6ab25133171..611c82c8a9a 100644 --- a/flow-client/tsconfig.json +++ b/flow-client/tsconfig.json @@ -18,7 +18,7 @@ "skipLibCheck": true }, "include": [ - "src/main/resources/META-INF/resources/frontend/**/*.ts" + "src/main/frontend/**/*.ts" ], "exclude": [] }