You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
310 B
16 lines
310 B
2 years ago
|
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'
|
||
|
}
|
||
|
};
|