diff --git a/src/manifest.json b/src/manifest.json index 535b387..5a67146 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -1,5 +1,6 @@ { - "name": "", + "name": "Polymer Skeleton", + "short_name": "SK", "icons": [{ "src": "/assets/icons/android-chrome-192x192.png", "sizes": "192x192", diff --git a/webpack-module.config.js b/webpack-module.config.js index 1ad515f..2aa16d5 100644 --- a/webpack-module.config.js +++ b/webpack-module.config.js @@ -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: [ diff --git a/webpack-nomodule.config.js b/webpack-nomodule.config.js index d81cdc9..a77675d 100644 --- a/webpack-nomodule.config.js +++ b/webpack-nomodule.config.js @@ -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: [ diff --git a/webpack.config.js b/webpack.config.js index 6664995..8ec1c46 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -1,3 +1,5 @@ +'use strict'; + const {resolve, join} = require('path'); const webpack = require('webpack'); const merge = require('webpack-merge');