Skip to content
This repository has been archived by the owner on Dec 9, 2019. It is now read-only.

Commit

Permalink
cleanup and test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
LasaleFamine committed Dec 3, 2017
1 parent 444f284 commit 782ad76
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 18 deletions.
3 changes: 2 additions & 1 deletion src/manifest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "",
"name": "Polymer Skeleton",
"short_name": "SK",
"icons": [{
"src": "/assets/icons/android-chrome-192x192.png",
"sizes": "192x192",
Expand Down
11 changes: 2 additions & 9 deletions webpack-module.config.js
Original file line number Diff line number Diff line change
@@ -1,22 +1,15 @@
'use strict';

const {resolve} = require('path');
const CleanWebpackPlugin = require('clean-webpack-plugin');

/**
* === ENV configuration
*/
const outputPath = resolve('dist');
const isDev = process.argv.find(arg => arg.includes('webpack-dev-server'));

/**
* Plugin configuration
*/
const plugins = isDev ? [] : [
new CleanWebpackPlugin([outputPath], {verbose: true})
];

/**
* === Webpack configuration
*/
module.exports = {
module: {
rules: [
Expand Down
9 changes: 1 addition & 8 deletions webpack-nomodule.config.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
const {resolve, join} = require('path');
'use strict';


/**
* === ENV configuration
*/
const BROWSERS = ['> 1%', 'last 2 versions', 'Firefox ESR', 'not ie <= 11'];

/**
* === Webpack configuration
*/
module.exports = {
module: {
rules: [
Expand Down
2 changes: 2 additions & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use strict';

const {resolve, join} = require('path');
const webpack = require('webpack');
const merge = require('webpack-merge');
Expand Down

0 comments on commit 782ad76

Please sign in to comment.