mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-29 06:24:21 -05:00
Merge pull request #1021 from davidmehren/webpack-4
Webpack: Cleanup common config
This commit is contained in:
commit
26a65322a4
1 changed files with 15 additions and 15 deletions
|
@ -1,12 +1,12 @@
|
|||
var webpack = require('webpack')
|
||||
var path = require('path')
|
||||
var HtmlWebpackPlugin = require('html-webpack-plugin')
|
||||
var CopyWebpackPlugin = require('copy-webpack-plugin')
|
||||
const webpack = require('webpack')
|
||||
const path = require('path')
|
||||
const HtmlWebpackPlugin = require('html-webpack-plugin')
|
||||
const CopyWebpackPlugin = require('copy-webpack-plugin')
|
||||
const MiniCssExtractPlugin = require('mini-css-extract-plugin')
|
||||
|
||||
// Fix possible nofile-issues
|
||||
var fs = require('fs')
|
||||
var gracefulFs = require('graceful-fs')
|
||||
const fs = require('fs')
|
||||
const gracefulFs = require('graceful-fs')
|
||||
gracefulFs.gracefulify(fs)
|
||||
|
||||
module.exports = {
|
||||
|
|
Loading…
Reference in a new issue