Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

396 B
Raw Blame
'use strict';

const {tmpdir} = require('node:os');
const {join} = require('node:path');

const outputPath = join(tmpdir(), 'mocha-test-webpack');

console.error('output dir: %s', outputPath);

module.exports = {
  bail: true,
  entry: require.resolve('./webpack.fixture.js'),
  target: 'browserslist:last 2 Chrome versions',
  output: {
    path: outputPath,
    chunkFormat: 'commonjs'
  },
};