Skip to content

Commit

Permalink
test: node18 not exists import.meta.dirname
Browse files Browse the repository at this point in the history
  • Loading branch information
tjx666 committed Mar 22, 2024
1 parent fe030db commit 65a9017
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/fixtures/mono/app/webpack.config.mjs
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
import unpluginDetectDuplicatedDeps from 'unplugin-detect-duplicated-deps/webpack';
import { resolve } from 'path';

/** @type {import('webpack').Configuration} */
const config = {
entry: resolve(import.meta.dirname, './index.js'),
entry: './index.js',
mode: 'production',
stats: 'none',
stats: 'errors-only',
output: {
path: resolve(import.meta.dirname, './dist'),
filename: 'bundle.mjs',
libraryTarget: 'module',
},
Expand Down

0 comments on commit 65a9017

Please sign in to comment.