mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-30 15:22:39 +00:00
fixed import
This commit is contained in:
parent
2da8ba84c9
commit
7eccd429ca
@ -5,8 +5,12 @@ import webpack from 'webpack'
|
|||||||
import ExtractTextPlugin from 'extract-text-webpack-plugin'
|
import ExtractTextPlugin from 'extract-text-webpack-plugin'
|
||||||
import ProgressBarPlugin from 'progress-bar-webpack-plugin'
|
import ProgressBarPlugin from 'progress-bar-webpack-plugin'
|
||||||
import { BundleAnalyzerPlugin } from 'webpack-bundle-analyzer'
|
import { BundleAnalyzerPlugin } from 'webpack-bundle-analyzer'
|
||||||
|
import OfflinePlugin from 'offline-plugin'
|
||||||
import base from './base.config.js'
|
import base from './base.config.js'
|
||||||
import { resolve } from 'path'
|
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
|
// offline plugin copy generated assets to static directory
|
||||||
function OfflinePluginCopyAssetsPlugin(assets, toDir) {
|
function OfflinePluginCopyAssetsPlugin(assets, toDir) {
|
||||||
|
Loading…
Reference in New Issue
Block a user