Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 776 Bytes

README.md

File metadata and controls

25 lines (18 loc) · 776 Bytes

cname-webpack-plugin · CI CD npm version

Create a CNAME file with webpack.

Installation

npm i cname-webpack-plugin -D

Usage

Add to webpack.config.js:

const CnameWebpackPlugin = require('cname-webpack-plugin');

module.exports = {
  plugins: [
    new CnameWebpackPlugin({
      domain: 'example.com',
    }),
  ],
};