@codeceptjs-bootstraps/host-static
v0.0.2
Published
Wait for port to be available
Downloads
4
Readme
@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
})
}