fixed import

This commit is contained in:
rohitpal 2017-03-12 05:32:28 +05:30
parent 2da8ba84c9
commit 7eccd429ca

View File

@ -5,8 +5,12 @@ import webpack from 'webpack'
import ExtractTextPlugin from 'extract-text-webpack-plugin'
import ProgressBarPlugin from 'progress-bar-webpack-plugin'
import { BundleAnalyzerPlugin } from 'webpack-bundle-analyzer'
import OfflinePlugin from 'offline-plugin'
import base from './base.config.js'
import { resolve } from 'path'
import fs from 'fs-extra'
import pify from 'pify'
const rename = pify(fs.rename)
// offline plugin copy generated assets to static directory
function OfflinePluginCopyAssetsPlugin(assets, toDir) {