@codeceptjs-bootstraps/host-static
This package contains a bootstrap for hosting static files.
Installation
npm add -D @codeceptjs-bootstraps/host-static
yarn add -D @codeceptjs-bootstraps/host-static
Usage
const path = require('path')
const { hostStaticBootstrap } = require('@codeceptjs-bootstraps/host-static')
exports.config = {
...hostStaticBootstrap({
path: path.resolve('static'), // path to static files
})
}