From eaf0dc1854b5ec82e9c159cb4b268b6a2b7d26e3 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Sun, 4 Mar 2018 19:40:57 -0500 Subject: [PATCH] fix configs --- webpack/client.config.js | 1 - webpack/server.config.js | 3 --- 2 files changed, 4 deletions(-) diff --git a/webpack/client.config.js b/webpack/client.config.js index 04d287b..a282997 100644 --- a/webpack/client.config.js +++ b/webpack/client.config.js @@ -1,6 +1,5 @@ const webpack = require('webpack'); const config = require('sapper/webpack/config.js'); -const UglifyJSPlugin = require('uglifyjs-webpack-plugin'); const mode = process.env.NODE_ENV; const isDev = mode === 'development'; diff --git a/webpack/server.config.js b/webpack/server.config.js index 868d876..e400d67 100644 --- a/webpack/server.config.js +++ b/webpack/server.config.js @@ -1,7 +1,4 @@ const config = require('sapper/webpack/config.js'); -const webpack = require('webpack'); -const ExtractTextPlugin = require("extract-text-webpack-plugin"); -const UglifyJSPlugin = require('uglifyjs-webpack-plugin'); const pkg = require('../package.json'); module.exports = {