Skip to content

About

Sync saver webpack plugin

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sync Saver Webpack Plugin

npm version Dependency Status bitHound Score

This is a webpack plugin that makes synchronous saving of generated assets. This plugin will be usefull for builds on Windows, when you use generated assets in future build steps. Tehnicaly plugin just replaces origin outputFileSystem.writeFile method by fs.writeFileSync.

Installation

Install the plugin with npm:

$ npm install sync-saver-webpack-plugin --save-dev

Basic Usage

Just add the plugin to your webpack config as follows:

var SyncSaverWebpackPlugin = require('sync-saver-webpack-plugin')
var webpackConfig = {
  entry: 'index.js',
  output: {
    path: 'dist',
    filename: 'index_bundle.js'
  },
  plugins: [new SyncSaverWebpackPlugin()]
}

Configuration

You can pass a hash of configuration options to SyncSaverWebpackPlugin. Allowed values are as follows:

  • debug: Enables verbose output in the webpack console.

About

Sync saver webpack plugin

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages