UNPKG

@revoloo/cypress6

Version:

Cypress.io end to end testing tool

20 lines (18 loc) 440 B
const path = require('path') const HtmlWebpackPlugin = require('html-webpack-plugin') /** @type {import('webpack').Configuration} */ module.exports = { mode: 'development', optimization: { splitChunks: { chunks: 'all', }, }, output: { filename: '[name].js', path: path.resolve(__dirname, 'dist'), }, plugins: [new HtmlWebpackPlugin({ template: path.join(__dirname, '../index-template.html'), })], }