Skip to content

Commit 65a9017

Browse files
committed
test: node18 not exists import.meta.dirname
1 parent fe030db commit 65a9017

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tests/fixtures/mono/app/webpack.config.mjs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
import unpluginDetectDuplicatedDeps from 'unplugin-detect-duplicated-deps/webpack';
2-
import { resolve } from 'path';
32

43
/** @type {import('webpack').Configuration} */
54
const config = {
6-
entry: resolve(import.meta.dirname, './index.js'),
5+
entry: './index.js',
76
mode: 'production',
8-
stats: 'none',
7+
stats: 'errors-only',
98
output: {
10-
path: resolve(import.meta.dirname, './dist'),
119
filename: 'bundle.mjs',
1210
libraryTarget: 'module',
1311
},

0 commit comments

Comments
 (0)