Skip to content

Commit 2ac9dcc

Browse files
committed
build: updated build configs
1 parent 1a88840 commit 2ac9dcc

26 files changed

+64
-60
lines changed

packages/eslint-config/tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"compilerOptions": {
33
"target": "ES2022",
4-
"module": "ESNext",
5-
"moduleResolution": "Bundler",
4+
"module": "NodeNext",
5+
"moduleResolution": "NodeNext",
66
"strict": true,
77
"declaration": true,
88
"declarationMap": true,
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"extends": "./tsconfig.base.json",
33
"compilerOptions": {
4-
"module": "ESNext"
4+
"module": "ESNext",
5+
"moduleResolution": "Node",
56
}
67
}
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"extends": "./tsconfig.base.json",
33
"compilerOptions": {
4-
"module": "ESNext"
4+
"module": "ESNext",
5+
"moduleResolution": "Node"
56
}
67
}

packages/tsconfig/tsconfig.types.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"extends": "./tsconfig.base.json",
33
"compilerOptions": {
44
"module": "ESNext",
5+
"moduleResolution": "Node",
56
"declaration": true,
67
"emitDeclarationOnly": true
78
}
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"extends": "./tsconfig.base.json",
33
"compilerOptions": {
4-
"module": "UMD"
4+
"module": "UMD",
5+
"moduleResolution": "Node"
56
}
67
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
import tsParticlesESLintConfig from "@tsparticles/eslint-config";
22

3-
export default tsParticlesESLintConfig;
3+
export default tsParticlesESLintConfig;

packages/webpack-config/src/bundles/buildBundle.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import type { ExternalData } from "../common/ExternalData";
2-
import { getConfig } from "../common/getConfig";
1+
import type { ExternalData } from "../common/ExternalData.js";
2+
import { getConfig } from "../common/getConfig.js";
33

44
interface BundleParams {
55
additionalExternals?: ExternalData[];

packages/webpack-config/src/common/getConfig.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { BundleAnalyzerPlugin } from "webpack-bundle-analyzer";
2-
import type { ExternalData } from "./ExternalData";
2+
import type { ExternalData } from "./ExternalData.js";
33
import TerserPlugin from "terser-webpack-plugin";
44
import { getEntry } from "./getEntry.js";
5-
import { getExternals } from "./getExternals";
5+
import { getExternals } from "./getExternals.js";
66
import path from "path";
77
import webpack from "webpack";
88

packages/webpack-config/src/common/getExternals.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { ExternalData } from "./ExternalData";
1+
import type { ExternalData } from "./ExternalData.js";
22

33
const getExternalObject = (name: string): unknown => {
44
return {

packages/webpack-config/src/effects/buildEffect.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import type { ExternalData } from "../common/ExternalData";
2-
import { getConfig } from "../common/getConfig";
1+
import type { ExternalData } from "../common/ExternalData.js";
2+
import { getConfig } from "../common/getConfig.js";
33

44
interface EffectParams {
55
additionalExternals?: ExternalData[];

0 commit comments

Comments
 (0)