Skip to content

Repository files navigation

node-bundle-generator

Node Bundle Generator is a super simple way to generate webpack bundles.

Usage

To use this repo run Yarn to install the necessary dependencies. Then, update the following:

  • index.js with your own bundle code.
  • webpack.config.js with your preferred entry bundle key.

Run yarn build and a file will be generated for you in the dist directory.

You can now copy this file into your own project.

Example

// @index.jsexport{formatasformatDate}from'date-fns';// @dist/bundle.[hash].js
...
// Client sideformatDate(newDate(),'hh:mm');

About

Node Bundle Generator is a super simple way to generate webpack bundles.

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages