Skip to content

Commit

Permalink
update all npm packages
Browse files Browse the repository at this point in the history
  • Loading branch information
ericalli committed Aug 14, 2019
1 parent b44211a commit aadcfe2
Show file tree
Hide file tree
Showing 4 changed files with 5,669 additions and 6,353 deletions.
5 changes: 1 addition & 4 deletions config/webpack.loaders.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,7 @@ const js = {

// Style loaders
const styleLoader = {
loader: 'style-loader',
options: {
sourceMap,
},
loader: 'style-loader'
};

const cssLoader = {
Expand Down
8 changes: 3 additions & 5 deletions config/webpack.plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ const path = require('path');
const fs = require('fs');

const WebpackBar = require('webpackbar');
const CleanWebpackPlugin = require('clean-webpack-plugin');
const { CleanWebpackPlugin } = require('clean-webpack-plugin');
const HTMLWebpackPlugin = require('html-webpack-plugin');
const StyleLintPlugin = require('stylelint-webpack-plugin');
const WebappWebpackPlugin = require('webapp-webpack-plugin');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const OptimizeCssAssetsPlugin = require('optimize-css-assets-webpack-plugin');
const RobotstxtPlugin = require('robotstxt-webpack-plugin').default;
const RobotstxtPlugin = require('robotstxt-webpack-plugin');
const SitemapPlugin = require('sitemap-webpack-plugin').default;

const config = require('./site.config');
Expand Down Expand Up @@ -43,9 +43,7 @@ const robots = new RobotstxtPlugin({
});

// Clean webpack
const clean = new CleanWebpackPlugin(['dist'], {
root: config.root,
});
const clean = new CleanWebpackPlugin();

// Stylelint
const stylelint = new StyleLintPlugin();
Expand Down
Loading

0 comments on commit aadcfe2

Please sign in to comment.