Skip to content

Commit

Permalink
Fix webpack projects
Browse files Browse the repository at this point in the history
  • Loading branch information
georg-schwarz committed Jan 31, 2024
1 parent 5f8f3fe commit c8be161
Show file tree
Hide file tree
Showing 8 changed files with 3,332 additions and 274 deletions.
3 changes: 2 additions & 1 deletion apps/docs/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
"compiler": "tsc",
"outputPath": "dist/apps/docs/generator",
"main": "apps/docs/generator/src/main.ts",
"tsConfig": "apps/docs/tsconfig.json"
"tsConfig": "apps/docs/tsconfig.json",
"webpackConfig": "apps/docs/webpack.config.js"
},
"dependsOn": ["prepare-generator"]
},
Expand Down
9 changes: 9 additions & 0 deletions apps/docs/webpack.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// SPDX-FileCopyrightText: 2023 Friedrich-Alexander-Universitat Erlangen-Nurnberg
//
// SPDX-License-Identifier: AGPL-3.0-only

const { composePlugins, withNx } = require('@nx/webpack');

module.exports = composePlugins(withNx(), (config) => {
return config;
});
1 change: 1 addition & 0 deletions apps/interpreter/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"outputPath": "dist/apps/interpreter",
"main": "apps/interpreter/src/index.ts",
"tsConfig": "apps/interpreter/tsconfig.app.json",
"webpackConfig": "apps/interpreter/webpack.config.js",
"generatePackageJson": true
},
"configurations": {
Expand Down
9 changes: 9 additions & 0 deletions apps/interpreter/webpack.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// SPDX-FileCopyrightText: 2023 Friedrich-Alexander-Universitat Erlangen-Nurnberg
//
// SPDX-License-Identifier: AGPL-3.0-only

const { composePlugins, withNx } = require('@nx/webpack');

module.exports = composePlugins(withNx(), (config) => {
return config;
});
1 change: 1 addition & 0 deletions apps/language-server-web-worker/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"outputPath": "dist/apps/language-server-web-worker",
"main": "apps/language-server-web-worker/src/main.ts",
"tsConfig": "apps/language-server-web-worker/tsconfig.app.json",
"webpackConfig": "apps/language-server-web-worker/webpack.config.js",
"target": "web",
"runtimeChunk": false,
"vendorChunk": false,
Expand Down
9 changes: 9 additions & 0 deletions apps/language-server-web-worker/webpack.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// SPDX-FileCopyrightText: 2023 Friedrich-Alexander-Universitat Erlangen-Nurnberg
//
// SPDX-License-Identifier: AGPL-3.0-only

const { composePlugins, withNx } = require('@nx/webpack');

module.exports = composePlugins(withNx(), (config) => {
return config;
});
Loading

0 comments on commit c8be161

Please sign in to comment.