0.0.2 • Published 6 years ago

webpack-zg-utils v0.0.2

Weekly downloads
2
License
MIT
Repository
-
Last release
6 years ago

Webpack ZG utils

Installation

npm install webpack-zg-utils
yarn add webpack-zg-utils

Usage

Inside your webpack.config file add following:

  plugins: [
    new moduleSerializer([
      { extension: 'js', outputFile: './dist/js/js.txt'},
      { extension: 'css', outputFile: './dist/css/css.txt'}
    ]),
  ]

Module serializer will match all files with given extension and add their paths to output file.