@epilot360/webpack-config-epilot360 2.1.3 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,6 +8,8 @@ const SystemJSPublicPathPlugin = require("systemjs-webpack-interop/SystemJSPubli
8
8
  const EnvPrefixPlugin = require("webpack-env-prefix-plugin");
9
9
  const { ESBuildMinifyPlugin } = require('esbuild-loader')
10
10
 
11
+ const resolveCwd = require('resolve-cwd');
12
+
11
13
  module.exports = webpackConfigEpilot360ReactApp;
12
14
 
13
15
  function webpackConfigEpilot360ReactApp(opts) {
@@ -151,6 +153,7 @@ function webpackConfigEpilot360ReactApp(opts) {
151
153
  : new ForkTsCheckerWebpackPlugin({
152
154
  typescript: {
153
155
  mode: "write-references",
156
+ typescriptPath: resolveCwd('typescript')
154
157
  },
155
158
  }),
156
159
  ].filter(Boolean),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot360/webpack-config-epilot360",
3
- "version": "2.1.3",
3
+ "version": "2.2.0",
4
4
  "description": "A webpack config for in-browser modules used with single-spa for Epilot360",
5
5
  "main": "lib/webpack-config-epilot360-portal.js",
6
6
  "directories": {
@@ -20,7 +20,6 @@
20
20
  "standalone-single-spa-webpack-plugin": "^1.1.0",
21
21
  "style-loader": "^2.0.0",
22
22
  "systemjs-webpack-interop": "^2.3.2",
23
- "typescript": "^4.3.5",
24
23
  "unused-files-webpack-plugin": "^3.4.0",
25
24
  "webpack": "^5.50.0",
26
25
  "webpack-bundle-analyzer": "^4.2.0",
@@ -31,5 +30,8 @@
31
30
  },
32
31
  "devDependencies": {
33
32
  "acorn-import-assertions": "^1.7.6"
33
+ },
34
+ "peerDependencies": {
35
+ "typescript": "^4.3.5"
34
36
  }
35
37
  }