Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

cname-webpack-plugin

1.0.5 • Public • Published

build-status npm-version

cname-webpack-plugin

Create CNAME file for production build.

Installation

npm i cname-webpack-plugin -D

Add to webpack.config.js

const CnameWebpackPlugin = require('cname-webpack-plugin');
 
module.exports = {
  plugins: [
    new CnameWebpackPlugin({
      domain: 'example.com',
    }),
  ],
};

install

npm i cname-webpack-plugin

Downloadsweekly downloads

198

version

1.0.5

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability