Template-Engine/webpack.config.mjs

16 lines
310 B
JavaScript
Raw Normal View History

import * as url from 'url';
import path from 'path';
const __dirname = url.fileURLToPath(new URL('.', import.meta.url));
export default {
mode: 'development',
target: 'node',
entry: path.join(__dirname, 'cli.mjs'),
experiments: {
topLevelAwait: true
},
output: {
filename: 'cli.js'
}
};